Re: [CMake] problem with Visual Studio 2010 and additional link flags

2011-03-07 Thread kevin martinet
On 3/7/2011 1:14 AM, Rolf Eike Beer wrote: In my solution I have several samples, some of which are windows based while other are console based. So I need to be able to change the link flag /SUBSYSTEM:CONSOLE (or /SUBSYSTEM:WINDOWS) depending on the executable I'm building Am I missing something

[CMake] problem with Visual Studio 2010 and additional link flags

2011-03-06 Thread kevin martinet
Hi In my solution I have several samples, some of which are windows based while other are console based. So I need to be able to change the link flag /SUBSYSTEM:CONSOLE (or /SUBSYSTEM:WINDOWS) depending on the executable I'm building To do so, I'm using a call to set_target_properties(Sample

Re: [CMake] problem with Visual Studio 2010 and additional link flags

2011-03-06 Thread Rolf Eike Beer
In my solution I have several samples, some of which are windows based while other are console based. So I need to be able to change the link flag /SUBSYSTEM:CONSOLE (or /SUBSYSTEM:WINDOWS) depending on the executable I'm building Am I missing something or is it a bug in the VS2010