From b0f41cac2006af8d9c34dca537d65557354061b7 Mon Sep 17 00:00:00 2001 From: brad Date: Thu, 25 Feb 2016 15:16:48 -0600 Subject: [PATCH] cmakefix per jan. --- src/Mod/Path/CMakeLists.txt | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/CMakeLists.txt b/src/Mod/Path/CMakeLists.txt index 12d4cf4dbb..a2fbad13a8 100644 --- a/src/Mod/Path/CMakeLists.txt +++ b/src/Mod/Path/CMakeLists.txt @@ -57,23 +57,38 @@ SET(PathScripts_SRCS PathScripts/PathInspect.py PathScripts/PathSimpleCopy.py PathScripts/PathEngrave.py +) + +SET(PathScripts_NC_SRCS PathScripts/nc/nc.py PathScripts/nc/iso.py PathScripts/nc/__init__.py PathScripts/nc/format.py PathScripts/nc/iso_codes.py +) +SET(all_files + ${PathScripts_SRCS} + ${PathScripts_NC_SRCS} ) ADD_CUSTOM_TARGET(PathScripts ALL - SOURCES ${PathScripts_SRCS} + SOURCES ${all_files} ) -fc_copy_sources(PathScripts "${CMAKE_BINARY_DIR}/Mod/Path" ${PathScripts_SRCS}) +fc_copy_sources(PathScripts "${CMAKE_BINARY_DIR}/Mod/Path" ${all_files}) INSTALL( FILES ${PathScripts_SRCS} DESTINATION Mod/Path/PathScripts - ) +) + +INSTALL( + FILES + ${PathScripts_NC_SRCS} + DESTINATION + Mod/Path/PathScripts/nc +) +