Re: [CMake] Xcode does not link against frameworks

2015-01-25 Thread Daniel Kollmann
Von: Daniel Kollmann Datum: Samstag, 24. Januar 2015 12:25 An: "cmake@cmake.org" Betreff: Xcode does not link against frameworks Hello, I add my required frameworks through this function of mine: function(add_framework target framework) if(APPLE) find_library(fo

[CMake] Xcode does not link against frameworks

2015-01-24 Thread Daniel Kollmann
Hello, I add my required frameworks through this function of mine: function(add_framework target framework) if(APPLE) find_library(found ${framework}) if(${found} STREQUAL "${framework}-NOTFOUND³) message(FATAL_ERROR "ERROR: ${framework} not found (${CMAKE_OSX_SYS

[CMake] Set Xcode sources language to "Default"

2015-01-22 Thread Daniel Kollmann
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

Re: [CMake] Visual Studio 2013 No CXX flags applied

2015-01-22 Thread Daniel Kollmann
CMake [mailto:cmake-boun...@cmake.org] Im Auftrag von Bill Hoffman Gesendet: Donnerstag, 22. Januar 2015 21:31 An: cmake@cmake.org Betreff: Re: [CMake] Visual Studio 2013 No CXX flags applied On 1/22/2015 1:04 PM, Daniel Kollmann wrote: > I added a message before the executable is added. What hap

Re: [CMake] Visual Studio 2013 No CXX flags applied

2015-01-22 Thread Daniel Kollmann
Nachricht- Von: CMake [mailto:cmake-boun...@cmake.org] Im Auftrag von Bill Hoffman Gesendet: Donnerstag, 22. Januar 2015 15:20 An: cmake@cmake.org Betreff: Re: [CMake] Visual Studio 2013 No CXX flags applied On 1/22/2015 6:00 AM, Daniel Kollmann wrote: > As you can see none of the flags are lis

[CMake] Visual Studio 2013 No CXX flags applied

2015-01-22 Thread Daniel Kollmann
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

[CMake] VS2013 64bit build does not include debug information

2015-01-16 Thread Daniel Kollmann
Hello everybody, I am using Cmake to generate my VS2013 solutions. My problem right now is that no debug information is included as well as no debug preprocessor symbols are set (DEBUG _DEBUG WIN32 _WINDOWS). I run cmake without CMAKE_BUILD_TYPE specified as I select that in VS. So I nee