]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Fix pb of build procedure: pyc files are not generated
authorvsr <vsr@opencascade.com>
Tue, 11 Sep 2018 07:21:40 +0000 (10:21 +0300)
committervsr <vsr@opencascade.com>
Tue, 11 Sep 2018 07:21:40 +0000 (10:21 +0300)
bin/CMakeLists.txt

index 3afe9dd775154cf4c94b6324d69aac96593202eb..6bd69ac42cdea84f3159086c514a164f2e9225c3 100644 (file)
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-SET(input ${CMAKE_CURRENT_SOURCE_DIR}/VERSION.in)
-SET(output ${CMAKE_CURRENT_BINARY_DIR}/VERSION)
-
-MESSAGE(STATUS "Creation of ${output}")
-CONFIGURE_FILE(${input} ${output})
-
-INSTALL(FILES paravis_setenv.py ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION ${SALOME_INSTALL_BINS})
+SALOME_CONFIGURE_FILE(VERSION.in VERSION INSTALL ${SALOME_INSTALL_BINS})
+SALOME_INSTALL_SCRIPTS(paravis_setenv.py ${SALOME_INSTALL_SCRIPT_SCRIPTS})