From acd74e26d791480e6be4199c65457a567e55aa2c Mon Sep 17 00:00:00 2001 From: mpa Date: Wed, 27 Nov 2013 10:13:42 +0000 Subject: [PATCH] CMake: - add files to remove using command "make clean" --- src/SALOME_PYQT/SALOME_PYQT_GUILight/CMakeLists.txt | 3 +++ src/SALOME_PYQT/SalomePyQt/CMakeLists.txt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUILight/CMakeLists.txt b/src/SALOME_PYQT/SALOME_PYQT_GUILight/CMakeLists.txt index cba20143f..9e62e7428 100755 --- a/src/SALOME_PYQT/SALOME_PYQT_GUILight/CMakeLists.txt +++ b/src/SALOME_PYQT/SALOME_PYQT_GUILight/CMakeLists.txt @@ -116,3 +116,6 @@ TARGET_LINK_LIBRARIES(SalomePyQtGUILight ${_link_LIBRARIES}) INSTALL(TARGETS SalomePyQtGUILight DESTINATION ${SALOME_INSTALL_LIBS}) INSTALL(FILES ${SalomePyQtGUILight_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + +FILE(GLOB make_clean_files ${CMAKE_CURRENT_BINARY_DIR}/sip*) +SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}") diff --git a/src/SALOME_PYQT/SalomePyQt/CMakeLists.txt b/src/SALOME_PYQT/SalomePyQt/CMakeLists.txt index 20f066392..04c44a128 100755 --- a/src/SALOME_PYQT/SalomePyQt/CMakeLists.txt +++ b/src/SALOME_PYQT/SalomePyQt/CMakeLists.txt @@ -99,3 +99,6 @@ IF(WIN32) ELSE() SET_TARGET_PROPERTIES(SalomePyQt PROPERTIES PREFIX "") ENDIF() + +FILE(GLOB make_clean_files ${CMAKE_CURRENT_BINARY_DIR}/sip*) +SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}") -- 2.39.2