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. I need per config type. Because of Visual Studio
Generator I can't write some thing like this:
if (CMAKE_BUILD_TYPE STREQUAL "Final")
...
endif
Because of two targets in on CMakeLists.txt I can't use
CMAKE_CXX_COMPILE_FLAGS.
--
Ilya Shvetsov (mailto:[EMAIL PROTECTED])
Lead Programmer
KranX Productions (http://kranx.com/)
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake