From: Alan W. I. <ai...@us...> - 2006-11-30 23:37:25
|
Update of /cvsroot/plplot/plplot/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9434/test Modified Files: CMakeLists.txt Log Message: If no shell is available, drop all testing shell scripts both in the build tree (ctest) and install tree. Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/plplot/plplot/test/CMakeLists.txt,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- CMakeLists.txt 16 Sep 2006 01:04:06 -0000 1.14 +++ CMakeLists.txt 30 Nov 2006 23:37:24 -0000 1.15 @@ -1,3 +1,7 @@ +# Only set up test environment, configure test files, and install them if +# a shell is available. + +if(SH_EXECUTABLE) set(TEST_ENVIRONMENT "EXAMPLES_DIR=${CMAKE_BINARY_DIR}/examples SRC_EXAMPLES_DIR=${CMAKE_SOURCE_DIR}/examples PLPLOT_LIB=${CMAKE_SOURCE_DIR}/data/" @@ -117,3 +121,5 @@ DESTINATION ${DATA_DIR}/examples PERMISSIONS ${PERM_SCRIPTS} ) + +endif(SH_EXECUTABLE) |