]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
new file bin/app-template/src/CMakeLists.txt
authorCamille GOUTTEBROZE <camille.gouttebroze@cea.fr>
Wed, 17 Sep 2014 11:59:03 +0000 (13:59 +0200)
committerCamille GOUTTEBROZE <camille.gouttebroze@cea.fr>
Wed, 17 Sep 2014 11:59:03 +0000 (13:59 +0200)
bin/app-quickstart.py
bin/app-template/CMakeLists.txt
bin/app-template/src/CMakeLists.txt [new file with mode: 0644]

index 95dae96b941a28d32ecec657a13a326163be5b6a..5b49f6d7c29ff15e4ef3f35cd7a41bca5c464038 100755 (executable)
@@ -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" ) )
 
 # -----------------------------------------------------------------------------
 
index f0aba2a647bc874b567034aa159149702a2bcbcb..90261895742951af3e338a5f74439beee69e5f9f 100644 (file)
@@ -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 (file)
index 0000000..25c7c38
--- /dev/null
@@ -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 )