We are pleased to announce that CMake 3.1.1 is now available for download.
Please use the latest release from our download page:
http://www.cmake.org/download/
Thanks for your support!
-
Changes in 3.1.1 since 3.1.0:
Andr
Hello,
I have some files in Xcode that have mixed Objective-C and C++ code which is
no problem if the files type is set to „Default“. My problem is that Cmake
sets it to „C++ Source“.
Here is how it should be, from another project:
Here is how it is for files added by Cmake:
Is there a way t
Okay I found the problem.
At the end I had the command:
set_target_properties(MyTarget PROPERTIES LINKER_LANGUAGE C++)
Which is wrong. I changed "C++" to "CXX" and then everything works as
expected.
Thanks again for the help.
Dan
-Ursprüngliche Nachricht-
Von: CMake [mailto:cmake-bo
On 1/22/2015 1:04 PM, Daniel Kollmann wrote:
I added a message before the executable is added.
What happens when you grep your --trace output for CMAKE_CXX_FLAGS, do
you ever see the flags being set as they look on the command line?
-Bill
--
Powered by www.kitware.com
Please keep messages o
Hi everyone,
I'm trying to figure out a way to escape the special keywords that are
used to introduce named options in function arguments (see
CMakeParseArguments [1]), for example to pass the string
RESULT_VARIABLE as argument to a command executed via
execute_process():
set(what "RESULT_VAR
I added a message before the executable is added.
C:/Depot/Build/Cmake/CMakeLists.txt(45): message( CMAKE_CXX_FLAGS
${CMAKE_CXX_FLAGS} )
CMAKE_CXX_FLAGS /DWIN32 /D_WINDOWS /W3 /GR /EHsc
C:/Build/Cmake/CMakeLists.txt(46): message( CMAKE_CXX_FLAGS_DEBUG
${CMAKE_CXX_FLAGS_
I didn't get a response to the question below. I've since reproduced
this with a simple test case; maybe someone can let me know why this
difference appears and how I should handle it? I'm using cmake 3.1.0:
Sample CMakeLists.txt:
$ cat >CMakeLists.txt < foo.cpp
On MacOSX with Xcode installe
On 1/22/2015 6:00 AM, Daniel Kollmann wrote:
As you can see none of the flags are listed. Strangely enough the
combination of the first few flags can also not be found anywhere in the
cache file so I guess it is some project defaults VS put in place.
my guess is the project is clobbering the cac
Hello everybody,
I have the big problem that my flags are not forwarded to VS. I am not sure
why, I suspect that maybe it does not realise that the CXX flags are
supposed to be used.
Here is what my cache looks like:
CMAKE_CXX_FLAGS:STRING= /DWIN32 /D_WINDOWS /W3 /GR /EHsc
CMAKE_CXX