]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
De la part d anthony
authorNATHALIE GORE <ng13417n@dsp0897499.atlas.edf.fr>
Tue, 26 Feb 2019 13:56:46 +0000 (14:56 +0100)
committerNATHALIE GORE <ng13417n@dsp0897499.atlas.edf.fr>
Tue, 26 Feb 2019 13:56:46 +0000 (14:56 +0100)
bin/CMakeLists.txt
doc/en/CMakeLists.txt
doc/fr/CMakeLists.txt

index 3b4903c340c5ab472fd1a88088ad1861520cde25..7e2fcc6cd733a540502e4a8a0815a3362cd72995 100644 (file)
@@ -29,4 +29,4 @@ set(ENV{PYTHONPATH} \${CATA_ADD_PYTHONPATH}:\$ENV{PYTHONPATH})
 EXECUTE_PROCESS(COMMAND \${PY_EXE_CATA} \${ADAO_CATA_GEN_FILE} \${OUTPUT_DIR} ADAO_Cata_V0.py)
 ENDMACRO(GENERATE_EFICAS_CATA_FOR_ADAO)" )
 
-INSTALL(CODE "GENERATE_EFICAS_CATA_FOR_ADAO( \"${PYTHON_EXECUTABLE}\" \"${CMAKE_CURRENT_SOURCE_DIR}/AdaoCatalogGenerator.py\" \"${CMAKE_INSTALL_PREFIX}/${ADAO_SCRIPT_PYTHON_SALOME}/adao\" \"${CMAKE_INSTALL_PREFIX}/${ADAO_SCRIPT_PYTHON_SALOME}:${ADAO_PYTHON_ROOT_DIR}/${ADAO_SCRIPT_PYTHON}\" )")
+INSTALL(CODE "GENERATE_EFICAS_CATA_FOR_ADAO( \"${PYTHON_EXECUTABLE}\" \"${CMAKE_CURRENT_SOURCE_DIR}/AdaoCatalogGenerator.py\" \"${CMAKE_INSTALL_PREFIX}/${ADAO_SCRIPT_PYTHON_SALOME}/adao/daEficas\" \"${CMAKE_INSTALL_PREFIX}/${ADAO_SCRIPT_PYTHON_SALOME}:${ADAO_PYTHON_ROOT_DIR}/${ADAO_SCRIPT_PYTHON}\" )")
index a03b85f1e4b1efbdabcf98429fdaecfe3bd7cbda..1a46962c5c93e0e37bc9376690269b912555fe31 100644 (file)
@@ -30,8 +30,8 @@ file(COPY ${RST_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
 file(COPY resources snippets images DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
 
 set(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees -D latex_paper_size=a4 ${CMAKE_CURRENT_BINARY_DIR} html)
+SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH ${CMAKE_CURRENT_BINARY_DIR}) # for module_version.py for conf.py for sphinx
 SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}")      
-
 add_custom_target(en_tutorial_doc COMMAND ${_cmd})
 install(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target en_tutorial_doc)")
 
index b0654af0975f3d749c246ce89a58fba74fa6280d..5e8476ef897fd4c987f5290d480b0dfaaaf54f3d 100644 (file)
@@ -30,8 +30,8 @@ file(COPY ${RST_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
 file(COPY resources snippets images DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
 
 set(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees -D latex_paper_size=a4 ${CMAKE_CURRENT_BINARY_DIR} html)
+SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH ${CMAKE_CURRENT_BINARY_DIR}) # for module_version.py for conf.py for sphinx
 SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}")      
-
 add_custom_target(fr_tutorial_doc COMMAND ${_cmd})
 install(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target fr_tutorial_doc)")