diff --git a/src/Mod/Path/CMakeLists.txt b/src/Mod/Path/CMakeLists.txt index 12d4cf4db..a2fbad13a 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 +) +