From: Thomas W. <tho...@us...> - 2007-12-22 22:03:54
|
Update of /cvsroot/octaviz/octaviz/Scripts In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2044/Scripts 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/Scripts/CMakeLists.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- CMakeLists.txt 11 Oct 2007 07:34:53 -0000 1.4 +++ CMakeLists.txt 22 Dec 2007 22:03:55 -0000 1.5 @@ -2,7 +2,5 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/vtkGetDataRoot.m ${CMAKE_CURRENT_BINARY_DIR}/vtkGetDataRoot.m) -EXEC_PROGRAM("ls" ${CURR_DIR} ARGS "*.m" OUTPUT_VARIABLE M_SCRIPTS_EXEC) -STRING(REGEX MATCHALL "[^\n]+" M_SCRIPTS ${M_SCRIPTS_EXEC}) - -INSTALL_PROGRAMS(${OCTAVIZ_M_DIR} ${M_SCRIPTS}) +FILE(GLOB M_SCRIPTS "*.m") +INSTALL(FILES ${M_SCRIPTS} DESTINATION ${OCTAVIZ_M_DIR}) |