Re: [CMake] Visual Studio 10 - GenerateDebugInformation always false

2012-03-01 Thread Johannes Sasongko
Are you using CMake 2.8.7? If not, please upgrade and try with that  
version. If there's still a problem after that, let us know.


Yes, I'm using 2.8.7. I've tested it on a very simple project (essentially  
just a Hello World with one lib and one exe), from an empty cache/build  
dir, and am still seeing the problem.


--
Johannes
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Visual Studio 10 - GenerateDebugInformation always false

2012-03-01 Thread Johannes Sasongko

Can you attach that project?  I'll test it out under similar conditions.


An even simpler project that gives me the same problem:

== CMakeLists.txt ==

project (cmaketest)
cmake_minimum_required (VERSION 2.8)
add_executable (cmaketest test.c)

== test.c ==

int main() { return 0; }



Attached is the vcxproj file generated by CMake.



Are you using the free version of visual studio?


I'm using the Professional edition; I don't think it would affect the  
generator, though.



--
Johannes

cmaketest.vcxproj.gz
Description: GNU Zip compressed data
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[CMake] Visual Studio 10 - GenerateDebugInformation always false

2012-02-29 Thread Johannes Sasongko
Is anyone having the problem where CMake creates VS10 project files with  
GenerateDebugInformation set to false for all (including Debug   
RelWithDebInfo) targets? If I remember correctly, this did not happen when  
using the VS9 generator, but I don't have VS9 handy to test.


--
Johannes
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake