Hi,
So I figured out that CMake puts LINK_FLAGS_DEBUG (and LINK_FLAGS_<CONFIG>) in the C/C++ tab in MSVC6 and not in the Link tab. I'm assuming that this is not the intended behavior...Is this a known issue, or should I file a bug for it? Happy Holidays! - David _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Blado Sent: Tuesday, December 19, 2006 7:14 PM To: cmake@cmake.org Subject: [CMake] set_target_properties questions Hi, I'm using SET_TARGET_PROPERTIES in the following fashion (MSVC6 generator): SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:libcmt") I tried to use LINK_FLAGS_DEBUG because I have a need to ignore different libs for different configurations. I get the following error when I attempt to use LINK_FLAGS_DEBUG: Command line warning D4002 : ignoring unknown option '/NODEFAULTLIB:libcmt' byteswap.c Compiling... Command line warning D4002 : ignoring unknown option '/NODEFAULTLIB:libcmt' And then I get the same message as without setting any target properties: LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library Any ideas? I'm using cmake 2.4.4 Cheers, David
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake