]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Better keep the installation of the PY file itself ... abn/nopycompile
authorabn <adrien.bruneton@cea.fr>
Mon, 20 Apr 2015 10:35:56 +0000 (12:35 +0200)
committerabn <adrien.bruneton@cea.fr>
Mon, 20 Apr 2015 10:35:56 +0000 (12:35 +0200)
salome_adm/cmake_files/SalomeMacros.cmake

index c796c29e311e1cf54084b639e02f872036ddae2f..bec4f4df81a43fed8fa8912a168c3df138ed7899 100644 (file)
@@ -154,7 +154,7 @@ MACRO(INSTALL_AND_COMPILE_PYTHON_FILE PYFILE2COMPINST PYFILELOC)
   INSTALL(CODE "SET(PYTHON_FILE ${f})")
   FOREACH(input ${PYFILE2COMPINST})
     GET_FILENAME_COMPONENT(inputname ${input} NAME)
-#    INSTALL(FILES ${input} DESTINATION ${CMAKE_INSTALL_PREFIX}/${PYFILELOC})
+    INSTALL(FILES ${input} DESTINATION ${CMAKE_INSTALL_PREFIX}/${PYFILELOC})
 #    INSTALL(CODE "MESSAGE(STATUS \"py compiling ${CMAKE_INSTALL_PREFIX}/${PYFILELOC}/${inputname}\")")
 #    INSTALL(CODE "SET(CMD \"import py_compile ; py_compile.compile('${CMAKE_INSTALL_PREFIX}/${PYFILELOC}/${inputname}')\")")
 #    INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c \"\${CMD}\")")