[cmake-commits] hoffman committed CMakeLists.txt 1.49.2.7 1.49.2.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Feb 5 13:21:35 EST 2007
Update of /cvsroot/CMake/CMake/Tests/Complex/Executable
In directory public:/mounts/ram/cvs-serv30870/Tests/Complex/Executable
Modified Files:
Tag: CMake-2-4
CMakeLists.txt
Log Message:
ENH: merge in changes from branch
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/Executable/CMakeLists.txt,v
retrieving revision 1.49.2.7
retrieving revision 1.49.2.8
diff -u -d -r1.49.2.7 -r1.49.2.8
--- CMakeLists.txt 27 Oct 2006 20:01:54 -0000 1.49.2.7
+++ CMakeLists.txt 5 Feb 2007 18:21:33 -0000 1.49.2.8
@@ -105,6 +105,12 @@
ADD_EXECUTABLE(notInAllExe EXCLUDE_FROM_ALL notInAllExe.cxx)
TARGET_LINK_LIBRARIES(notInAllExe notInAllLib)
+# Test user-value flag mapping for the VS IDE.
+IF(MSVC)
+ SET_TARGET_PROPERTIES(notInAllExe PROPERTIES
+ LINK_FLAGS "/NODEFAULTLIB:LIBC;LIBCMT;MSVCRT")
+ENDIF(MSVC)
+
# Test creating a custom target that builds not-in-all targets.
ADD_CUSTOM_TARGET(notInAllCustom)
ADD_DEPENDENCIES(notInAllCustom notInAllExe)
More information about the Cmake-commits
mailing list