Re: [CMake] VC++10 change WIN32_EXECUTABLE per configuration

2012-07-31 Thread Steve deRosier
On Tue, Jul 31, 2012 at 1:45 PM, J Decker wrote: > what about using CMAKE_INSTALL_CONFIG_TYPE instead? > OK, don't know that one, nor is it in my CMake documentation. But, the #pragma suggested by the bug report saved me, so off I go... Thanks, - Steve -- Powered by www.kitware.com Visit other

Re: [CMake] VC++10 change WIN32_EXECUTABLE per configuration

2012-07-31 Thread Steve deRosier
On Tue, Jul 31, 2012 at 4:45 AM, David Cole wrote: > Also, > > see this outstanding "bug" report: > > http://public.kitware.com/Bug/view.php?id=12566 > Thanks David, that did it for me. A lot of things would be simpler in the project I have if we could have per-configuration target properties.

[CMake] VC++10 change WIN32_EXECUTABLE per configuration

2012-07-30 Thread Steve deRosier
I need a way to have the WIN32_EXECUTABLE property set off for debug builds and on for release builds when using the IDE. Here's the deal: For debug our code uses the standard main() construct, and for release we use the WinMain(). Lets just say there's a reason and leave it at that... The obvious