From: Thomas W. <tho...@us...> - 2007-12-22 22:03:53
|
Update of /cvsroot/octaviz/octaviz/Examples In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2044/Examples Modified Files: CMakeLists.txt Log Message: Revamped build system Interface to the WRAP macro simplified. Parallel builds should work now; out-of-source build should work as well. A pre-compiled header file can be used (alas, it doesn't seem to speed the build up that much). Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/octaviz/octaviz/Examples/CMakeLists.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- CMakeLists.txt 11 Oct 2007 07:34:53 -0000 1.3 +++ CMakeLists.txt 22 Dec 2007 22:03:54 -0000 1.4 @@ -1,4 +1,2 @@ -EXEC_PROGRAM("ls" ${CURR_DIR} ARGS "*.m" OUTPUT_VARIABLE EXAMPLE_SCRIPTS_EXEC) -STRING(REGEX MATCHALL "[^\n]+" EXAMPLE_SCRIPTS ${EXAMPLE_SCRIPTS_EXEC}) - -INSTALL_PROGRAMS(${OCTAVIZ_EXAMPLES_DIR} ${EXAMPLE_SCRIPTS}) +FILE(GLOB EXAMPLE_SCRIPTS "*.m") +INSTALL(FILES ${EXAMPLE_SCRIPTS} DESTINATION ${OCTAVIZ_EXAMPLES_DIR}) |