cmakefix per jan.
This commit is contained in:
parent
940f52db90
commit
19812468d1
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user