]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
CMake:
authormpa <mpa@opencascade.com>
Wed, 27 Nov 2013 10:37:39 +0000 (10:37 +0000)
committermpa <mpa@opencascade.com>
Wed, 27 Nov 2013 10:37:39 +0000 (10:37 +0000)
- add files to remove using command "make clean"

doc/docutils/CMakeLists.txt
doc/salome/gui/GEOM/CMakeLists.txt

index ad6573e070ec6d4feddebf295c40f12504f99bcb..e08805bbff25740b7eb46452eed3a6c6789c7196 100755 (executable)
@@ -31,4 +31,5 @@ INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BIN
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docutils DESTINATION ${SALOME_INSTALL_DOC}/tui/GEOM)
 INSTALL(FILES ${PROJECT_SOURCE_DIR}/doc/salome/tui/images/head.png DESTINATION ${SALOME_INSTALL_DOC}/tui/GEOM)
 
-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES docutils)
\ No newline at end of file
+SET(make_clean_files docutils doctrees)
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")
\ No newline at end of file
index 12ab6ceb2f3d96be620ab7416ba8841900f968f1..57416a4ecd864d3366a9aa31ca198f3107a1bca8 100644 (file)
@@ -49,4 +49,6 @@ INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/GEOM)
 INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/GEOM/geompy_doc)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/static/SALOME_BOA_PA.pdf DESTINATION ${SALOME_INSTALL_DOC}/gui/GEOM)
 
-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES GEOM)
\ No newline at end of file
+FILE(GLOB tag_files ${CMAKE_CURRENT_BINARY_DIR}/*.tag)
+SET(make_clean_files GEOM ${tag_files})
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")