Re: [CMake] COMPILE_FLAGS on per target and per configuration basis

2008-03-24 Thread Timenkov Yuri
On Monday 24 March 2008 21:20:45 Ilya Shvetsov wrote: > On Mon, 24 Mar 2008 20:02:27 +0200, Timenkov Yuri > > <[EMAIL PROTECTED]> wrote: > >> May be exist some way do the same with COMPILE_FLAGS ? > > > > I do it following way: > > set_source_files_properties( > > ${MyTarget_SRCS} > > PROPE

Re: [CMake] COMPILE_FLAGS on per target and per configuration basis

2008-03-24 Thread Ilya Shvetsov
On Mon, 24 Mar 2008 20:02:27 +0200, Timenkov Yuri <[EMAIL PROTECTED]> wrote: May be exist some way do the same with COMPILE_FLAGS ? I do it following way: set_source_files_properties( ${MyTarget_SRCS} PROPERTIES COMPILE_FLAGS "/J /Zc:wchar_t" ) Problem still exist.

Re: [CMake] COMPILE_FLAGS on per target and per configuration basis

2008-03-24 Thread Timenkov Yuri
On Monday 24 March 2008 20:42:46 Ilya Shvetsov wrote: > Hi, all. > > I need define some compile flags for my targets. This flags deepend on > config tipe. > With LINK_FLAGS I can do this very simple. I can write just > > set_target_properties(target1 PROPERTIES > LINKER_FLAGS_FINAL "som

[CMake] COMPILE_FLAGS on per target and per configuration basis

2008-03-24 Thread Ilya Shvetsov
Hi, all. I need define some compile flags for my targets. This flags deepend on config tipe. With LINK_FLAGS I can do this very simple. I can write just set_target_properties(target1 PROPERTIES LINKER_FLAGS_FINAL "some flags for target1") set_target_properties(target2 PROPERTI