]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
CMake:
authormpa <mpa@opencascade.com>
Thu, 28 Nov 2013 13:41:42 +0000 (13:41 +0000)
committermpa <mpa@opencascade.com>
Thu, 28 Nov 2013 13:41:42 +0000 (13:41 +0000)
- add files to remove using command "make clean"

src/MEDCoupling/Test/CMakeLists.txt
src/MEDOP/doc/sphinx/CMakeLists.txt

index a434a8bbba224dbeb8e9b56a627fa9634b98f32e..73e0d33bec20d750b0320d662963da768c39a10e 100644 (file)
@@ -67,3 +67,5 @@ TARGET_LINK_LIBRARIES(TestMEDCouplingExamples medcoupling ${CPPUNIT_LIBRARIES} $
 ADD_TEST(TestMEDCouplingExamples TestMEDCouplingExamples)
 
 INSTALL(TARGETS TestMEDCoupling TestMEDCouplingRemapper TestMEDCouplingExamples DESTINATION ${SALOME_INSTALL_BINS})
+
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES UnitTestsResult)
index 94d7e6603836679786b706ed9cf9f48d1191df74..7bfa8c23c565fd71c6e6f0ecd71e5104f64bdf31 100644 (file)
@@ -27,4 +27,5 @@ ADD_CUSTOM_TARGET(html_docs COMMAND ${_cmd})
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_INSTALL_DOC}/dev/MED)
 
-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES html)
+SET(make_clean_files html doctrees)
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")