Skip to content

Commit

Permalink
cmakefix per jan.
Browse files Browse the repository at this point in the history
  • Loading branch information
sliptonic authored and yorikvanhavre committed May 23, 2016
1 parent 940f52d commit 1981246
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions src/Mod/Path/CMakeLists.txt
Expand Up @@ -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
)

0 comments on commit 1981246

Please sign in to comment.