[cmake-commits] king committed CMakeLists.txt 1.355 1.356

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Apr 17 14:08:32 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv10904

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Added test for executables with plugins that use an API exported by the executable itself.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CMakeLists.txt,v
retrieving revision 1.355
retrieving revision 1.356
diff -u -d -r1.355 -r1.356
--- CMakeLists.txt	4 Apr 2007 15:22:14 -0000	1.355
+++ CMakeLists.txt	17 Apr 2007 18:08:30 -0000	1.356
@@ -986,6 +986,16 @@
     --test-command executable
     )
 
+  ADD_TEST(Plugin ${CMAKE_CTEST_COMMAND}
+    --build-and-test
+    "${CMake_SOURCE_DIR}/Tests/Plugin"
+    "${CMake_BINARY_DIR}/Tests/Plugin"
+    --build-generator ${CMAKE_TEST_GENERATOR}
+    --build-project Plugin
+    --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
+    --build-two-config
+    --test-command bin/example)
+
   IF(NOT CMAKE_TEST_DIFFERENT_GENERATOR)
     ADD_TEST(kwsys ${CMAKE_CTEST_COMMAND}
       --build-and-test



More information about the Cmake-commits mailing list