From 5151311f0066bd2313b4b5375e6734b334f33788 Mon Sep 17 00:00:00 2001 From: Camille GOUTTEBROZE Date: Wed, 3 Dec 2014 16:44:54 +0100 Subject: [PATCH] Fix in order to have up-to-date salome API context for default profile --- src/AppQuickStart/app-template/CMakeLists.txt | 9 +++++++++ src/AppQuickStart/app-template/src/CMakeLists.txt | 12 ------------ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/AppQuickStart/app-template/CMakeLists.txt b/src/AppQuickStart/app-template/CMakeLists.txt index 6b28b00b3..95e895ac9 100644 --- a/src/AppQuickStart/app-template/CMakeLists.txt +++ b/src/AppQuickStart/app-template/CMakeLists.txt @@ -99,3 +99,12 @@ INSTALL(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/USERS)") ADD_SUBDIRECTORY( src ) ADD_SUBDIRECTORY( resources ) ADD_SUBDIRECTORY( doc ) + +# Additional files +# ================ +SET(_salome_context_API_SCRIPTS + ${KERNEL_ROOT_DIR}/bin/salome/salomeContext.py + ${KERNEL_ROOT_DIR}/bin/salome/salomeContextUtils.py + ${KERNEL_ROOT_DIR}/bin/salome/parseConfigFile.py +) +SALOME_INSTALL_SCRIPTS("${_salome_context_API_SCRIPTS}" ${SALOME_INSTALL_SCRIPT_PYTHON}) diff --git a/src/AppQuickStart/app-template/src/CMakeLists.txt b/src/AppQuickStart/app-template/src/CMakeLists.txt index 7096041e4..5fcc1bda8 100644 --- a/src/AppQuickStart/app-template/src/CMakeLists.txt +++ b/src/AppQuickStart/app-template/src/CMakeLists.txt @@ -17,18 +17,6 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -# --- scripts --- - -# scripts / static -SET(_bin_SCRIPTS - salomeContext.py - salomeContextUtils.py - parseConfigFile.py -) - -# --- rules --- -SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_SCRIPT_PYTHON}) - # --- sub-directories --- ADD_SUBDIRECTORY( tests ) ADD_SUBDIRECTORY( resources ) -- 2.39.2