[cmake-commits] king committed CMakeLists.txt 1.55 1.56
testSystemDir.cxx NONE 1.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Oct 5 08:56:01 EDT 2006
Update of /cvsroot/CMake/CMake/Tests/Complex/Executable
In directory public:/mounts/ram/cvs-serv29297/Tests/Complex/Executable
Modified Files:
CMakeLists.txt
Added Files:
testSystemDir.cxx
Log Message:
ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug #3462.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Complex/Executable/CMakeLists.txt,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- CMakeLists.txt 2 Oct 2006 16:01:20 -0000 1.55
+++ CMakeLists.txt 5 Oct 2006 12:55:59 -0000 1.56
@@ -118,6 +118,11 @@
#
ADD_SUBDIRECTORY(Temp)
+IF(CMAKE_COMPILER_IS_GNUCXX)
+ ADD_EXECUTABLE(testSystemDir testSystemDir.cxx)
+ SET_TARGET_PROPERTIES(testSystemDir PROPERTIES COMPILE_FLAGS "-Werror")
+ENDIF(CMAKE_COMPILER_IS_GNUCXX)
+
#
# Extra coverage.Not used.
#
--- NEW FILE: testSystemDir.cxx ---
#include <testSystemDir.h>
int main() { return foo(); }
More information about the Cmake-commits
mailing list