]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CMake build procedure improvements:
authorvsr <vsr@opencascade.com>
Wed, 21 Aug 2013 07:04:03 +0000 (07:04 +0000)
committervsr <vsr@opencascade.com>
Wed, 21 Aug 2013 07:04:03 +0000 (07:04 +0000)
- minor general improvements

src/DSC/DSC_Python/CMakeLists.txt
src/KERNEL_PY/kernel/CMakeLists.txt

index 3479662cae2509ffc57e9e947a5e8913a601a078..9d803f1b8d101e206bc9dadab244da488138b8e6 100755 (executable)
@@ -61,6 +61,6 @@ INSTALL(TARGETS _calcium DESTINATION ${SALOME_INSTALL_PYTHON})
 
 SET(SCRIPTS
   dsccalcium.py
+  ${CMAKE_CURRENT_BINARY_DIR}/calcium.py
 )
-SALOME_INSTALL_SCRIPTS( ${SCRIPTS} ${SALOME_INSTALL_PYTHON})
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/calcium.py DESTINATION ${SALOME_INSTALL_PYTHON})
+SALOME_INSTALL_SCRIPTS( "${SCRIPTS}" ${SALOME_INSTALL_PYTHON})
index ec20d0ecd396760d4c647d5d250c5d7c05f91f4c..2ad95589027306712a157d56d604d3f78e75126c 100755 (executable)
@@ -40,10 +40,9 @@ SET(mypkgpython_PYTHON
     syshelper.py
 )
 # This set of modules required a running SALOME application.
-SET(mypkgpython_PYTHON
-    ${mypkgpython_PYTHON}
+LIST(APPEND mypkgpython_PYTHON
     studyedit.py
     services.py
+    ${CMAKE_CURRENT_BINARY_DIR}/logconfig.py
 )
 SALOME_INSTALL_SCRIPTS("${mypkgpython_PYTHON}" ${SALOME_INSTALL_PYTHON}/salome/kernel)
-SALOME_INSTALL_SCRIPTS(${CMAKE_CURRENT_BINARY_DIR}/logconfig.py ${SALOME_INSTALL_PYTHON}/salome/kernel)
\ No newline at end of file