#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" ) )
# -----------------------------------------------------------------------------
-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 )