]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
0022778: [CEA 1298] Python file compilation should be done at build time, not install...
authorabn <adrien.bruneton@cea.fr>
Mon, 18 May 2015 14:55:04 +0000 (16:55 +0200)
committervsr <vsr@opencascade.com>
Tue, 9 Jun 2015 11:35:02 +0000 (14:35 +0300)
- Getting rid of deprecated INSTALL_AND_COMPILE... macro

src/Macro/CMakeLists.txt
src/PV_SWIG/CMakeLists.txt
test/CMakeLists.txt

index 2ccf3cf84672dfbd296b52c42d370b3f5e456d9e..25ace836bbd0d8170320e1a387c2cb255339f704 100644 (file)
@@ -23,4 +23,4 @@ SET(_PYFILES_TO_INSTALL
   ShowSalomeObject.py
   )
 
-INSTALL_AND_COMPILE_PYTHON_FILE("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_SCRIPT_PYTHON}/Macro)
+SALOME_INSTALL_SCRIPTS("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_SCRIPT_PYTHON}/Macro)
index 769189a2476091ff0cd8f778bce5d34b4002060e..20e16ebffd3a3903da6babe891e3bc38909f2cb2 100644 (file)
@@ -35,4 +35,4 @@ ELSE(SALOME_LIGHT_ONLY)
     )
 ENDIF(SALOME_LIGHT_ONLY)
 
-INSTALL_AND_COMPILE_PYTHON_FILE("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON})
+SALOME_INSTALL_SCRIPTS("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON})
index 752eaa9eeaa5287be209105673ed62bf254eff05..de4d1720f19f1555cc7bdd26fc7061758a303be4 100644 (file)
@@ -37,7 +37,7 @@ SET(_demo_files
   demo_15_med.py
   )
 
-INSTALL_AND_COMPILE_PYTHON_FILE("${_demo_files}" ${SALOME_INSTALL_SCRIPT_PYTHON})
+SALOME_INSTALL_SCRIPTS("${_demo_files}" ${SALOME_INSTALL_SCRIPT_PYTHON})
 
 # Application tests
 INSTALL(FILES CTestTestfileInstall.cmake