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

doc/docutils/CMakeLists.txt
doc/salome/gui/SMESH/CMakeLists.txt
src/Tools/MGCleanerPlug/doc/CMakeLists.txt
src/Tools/Verima/Doc/CMakeLists.txt
src/Tools/YamsPlug/doc/CMakeLists.txt
src/Tools/padder/doc/CMakeLists.txt

index e6d272b021d9e4a55ceb64cd61991e09963ab2c0..a34d26b32e687d36c8c91552d2ffbe95fbc3078b 100755 (executable)
@@ -31,5 +31,6 @@ INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BIN
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docutils DESTINATION ${SALOME_INSTALL_DOC}/tui/SMESH)
 INSTALL(FILES ${PROJECT_SOURCE_DIR}/doc/salome/tui/images/head.png ${PROJECT_SOURCE_DIR}/doc/salome/tui/images/smeshscreen.png 
         DESTINATION ${SALOME_INSTALL_DOC}/tui/SMESH)
-        
-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES docutils)
+
+SET(make_clean_files docutils doctrees)
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")        
index d2f88e1747425fbfac918c8133aa56c169f86514..7d8157bee4e6ff630410ab0bcdf9c6bf3e49e5fb 100644 (file)
@@ -54,4 +54,6 @@ INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/SMESH DESTINATION ${SALOME_INSTALL
 INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/SMESH)
 INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/SMESH/smeshpy_doc)
 
-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES SMESH)
\ No newline at end of file
+FILE(GLOB tag_files ${CMAKE_CURRENT_BINARY_DIR}/*.tag)
+SET(make_clean_files SMESH ${tag_files})
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")
index 441cc94a328952bd4fb933d5d045bbaaeb34c1ef..686ed4be96889dead81548eeb89bc0dd10d80484 100755 (executable)
@@ -27,4 +27,5 @@ ADD_CUSTOM_TARGET(html_docs_MGCleanerPlug COMMAND ${_cmd})
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_MGCleanerPlug)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docutils/ DESTINATION ${SALOME_INSTALL_DOC}/gui/SMESH/MGCleaner)
 
-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 64596ad64888e407ceaac64a0ad7aa0ed88eea99..c4ca90b9b7b61dd3cd149112e3ebe6ef0fc4068e 100755 (executable)
@@ -27,4 +27,5 @@ ADD_CUSTOM_TARGET(html_docs_Verima COMMAND ${_cmd})
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_Verima)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docutils/ DESTINATION ${SALOME_INSTALL_DOC}/gui/SMESH/Verima)
 
-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES docutils)
+SET(make_clean_files docutils doctrees)
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")
index 7b289153e7501c5b3f988f7084cda8432948514c..dffc3f9a32bc8f60625a88fa9874e68ce421c2b2 100755 (executable)
@@ -27,4 +27,5 @@ ADD_CUSTOM_TARGET(html_docs_YamsPlug COMMAND ${_cmd})
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_YamsPlug)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docutils/ DESTINATION ${SALOME_INSTALL_DOC}/gui/SMESH/yams)
 
-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES docutils)
+SET(make_clean_files docutils doctrees)
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")
index a0f5229e3688cfedb31649d3734f384580c490a2..b745473d5d4ba98ccce4b0df2dc4ec1779721378 100755 (executable)
@@ -28,3 +28,5 @@ ADD_DEPENDENCIES(usr_padder_docs html_docs)
 
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target usr_padder_docs)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/SMESH DESTINATION ${SALOME_INSTALL_DOC}/gui) 
+
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES SMESH)