From: Camille GOUTTEBROZE Date: Wed, 17 Sep 2014 11:59:03 +0000 (+0200) Subject: new file bin/app-template/src/CMakeLists.txt X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=617e37f8b24508b4637b714389f25c12fdeda224;p=modules%2Fkernel.git new file bin/app-template/src/CMakeLists.txt --- diff --git a/bin/app-quickstart.py b/bin/app-quickstart.py index 95dae96b9..5b49f6d7c 100755 --- a/bin/app-quickstart.py +++ b/bin/app-quickstart.py @@ -86,9 +86,9 @@ def generate_sources( options, args ) : #Complete source directory shutil.copy( os.path.join( kernek_root_dir, "LICENCE" ), app_dir ) - salomeContext_files = [ "salomeContext.py", "salomeContextUtils.py.in", "parseConfigFile.py" ] - for f in salomeContext_files : - shutil.copy( os.path.join( bin_dir, f ), src_dir ) + shutil.copy( os.path.join( bin_dir, "salomeContext.py" ), src_dir ) + shutil.copy( os.path.join( bin_dir, "parseConfigFile.py" ), src_dir ) + shutil.copy( os.path.join( bin_dir, "salomeContextUtils.py.in" ), os.path.join( src_dir, "salomeContextUtils.py" ) ) # ----------------------------------------------------------------------------- diff --git a/bin/app-template/CMakeLists.txt b/bin/app-template/CMakeLists.txt index f0aba2a64..902618957 100644 --- a/bin/app-template/CMakeLists.txt +++ b/bin/app-template/CMakeLists.txt @@ -1,3 +1,3 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) +CMAKE_MINIMUM_REQUIRED( VERSION 2.8.8 FATAL_ERROR ) -FILE ( COPY src/salomeContext.py src/salomeContextUtils.py.in src/parseConfigFile.py DESTINATION bin/salome ) +ADD_SUBDIRECTORY( src ) diff --git a/bin/app-template/src/CMakeLists.txt b/bin/app-template/src/CMakeLists.txt new file mode 100644 index 000000000..25c7c3893 --- /dev/null +++ b/bin/app-template/src/CMakeLists.txt @@ -0,0 +1,3 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) + +FILE ( COPY salomeContext.py src/salomeContextUtils.py parseConfigFile.py DESTINATION bin/salome )