Hi,
> > it reaches the linker. I can't simply add WIN32 to
> add_executable()
> > because I want debug builds to use the console sub-system
> and release
> > builds to use the windows subsystem. I have three questions:
I don't have a solution in cmake, but I worked around this using code fr
cowwoc wrote:
>
> Hi,
>
> I'm using CMAKE 2.8.6 with Visual Studio 2010 Express. According to
> http://www.cmake.org/Wiki/VSConfigSpecificSettings I should be able run:
>
> set_target_properties(main PROPERTIES LINK_FLAGS "/SUBSYSTEM:WINDOWS")
>
> where "main" is my project, but I've discove
Hi,
I'm using CMAKE 2.8.6 with Visual Studio 2010 Express. According to
http://www.cmake.org/Wiki/VSConfigSpecificSettings I should be able run:
set_target_properties(main PROPERTIES LINK_FLAGS "/SUBSYSTEM:WINDOWS")
where "main" is my project, but I've discovered that CMake strips
"/SUBSYSTEM: