From: Andrew R. <and...@us...> - 2006-07-30 10:31:06
|
Update of /cvsroot/plplot/plplot/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14042/test Modified Files: CMakeLists.txt Log Message: Rather ugly workaround to get f95 examples to compile in the build tree for testing. See comments in cmake_workaround.f for details. Cmake doesn't handle module dependencies properly at the moment. If anyone can fix cmake it would be much appreciated! It seems the developers are aware of the problem are not fortran users and don't have the time / inclination to make this a priority. Note this _only_ affects building the examples in the build tree for testing. It does not affect the installed examples in any way. Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/plplot/plplot/test/CMakeLists.txt,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- CMakeLists.txt 26 Jul 2006 14:06:57 -0000 1.8 +++ CMakeLists.txt 30 Jul 2006 10:31:03 -0000 1.9 @@ -36,6 +36,9 @@ if(ENABLE_f95) configure_file(test_f95.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test_f95.sh @ONLY) set(SCRIPTS ${SCRIPTS} test_f95.sh) + add_test(examples_f95 + sh -c "${TEST_ENVIRONMENT} ./plplot-test.sh --front-end=f95" + ) endif(ENABLE_f95) if(ENABLE_java) |