From 7953562de64fe658a5b2155db2f84efc3fe6a56d Mon Sep 17 00:00:00 2001 From: Marko Petric <marko.petric@cern.ch> Date: Wed, 25 Sep 2019 10:57:42 +0200 Subject: [PATCH] add to the ddsim source file the suffix and remove in installation --- DDG4/CMakeLists.txt | 2 +- DDG4/python/DDSim/bin/{ddsim => ddsim.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename DDG4/python/DDSim/bin/{ddsim => ddsim.py} (100%) diff --git a/DDG4/CMakeLists.txt b/DDG4/CMakeLists.txt index 6e8f05e09..f87bb024f 100644 --- a/DDG4/CMakeLists.txt +++ b/DDG4/CMakeLists.txt @@ -122,7 +122,7 @@ target_link_libraries(g4FromXML DDG4) file(GLOB DDG4_python python/*.py python/*.C) install(FILES ${DDG4_python} DESTINATION lib/python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}/site-packages) -install(PROGRAMS python/DDSim/bin/ddsim DESTINATION bin) +install(PROGRAMS python/DDSim/bin/ddsim.py DESTINATION bin RENAME ddsim) install(PROGRAMS python/bin/checkOverlaps.py DESTINATION bin RENAME checkOverlaps) install(PROGRAMS python/bin/checkGeometry.py DESTINATION bin RENAME checkGeometry) diff --git a/DDG4/python/DDSim/bin/ddsim b/DDG4/python/DDSim/bin/ddsim.py similarity index 100% rename from DDG4/python/DDSim/bin/ddsim rename to DDG4/python/DDSim/bin/ddsim.py -- GitLab