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

2012-03-01 Thread David Cole
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.


On Mar 1, 2012, at 12:24 AM, Johannes Sasongko sason...@gmail.com wrote:

 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
--

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 Bill Hoffman

On 3/1/2012 9:00 AM, David Cole wrote:

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.
It might also be flags that you are setting in your project or cache 
that is doing this.  Do you set CMAKE_CXX_FLAGS?


-Bill
--

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
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 aaron . meadows
Can you attach that project?  I'll test it out under similar conditions.
Are you using the free version of visual studio?

Aaron Meadows

-Original Message-
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf
Of Johannes Sasongko
Sent: Thursday, March 01, 2012 9:01 AM
To: cmake@cmake.org
Subject: Re: [CMake] Visual Studio 10 - GenerateDebugInformation always
false

 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

This email was sent to you by Thomson Reuters, the global news and information 
company. Any views expressed in this message are those of the individual 
sender, except where the sender specifically states them to be the views of 
Thomson Reuters.
--

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 John Drescher
On Thu, Mar 1, 2012 at 10:01 AM, Johannes Sasongko sason...@gmail.com wrote:
 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.


I am not seeing this at all on Windows 7, Windows 2008 with 2.8.7 and
Visual Studio 2010 or Visual Studio 2008.

Can you make a small example?

John
--

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