Refactored cmake file and added TestPathCore.

This commit is contained in:
Markus Lampert
2017-01-27 13:28:41 -08:00
parent 3ee613f79b
commit 4d91ed3992

View File

@@ -10,6 +10,7 @@ INSTALL(
Init.py
InitGui.py
PathCommands.py
TestPathApp.py
DESTINATION
Mod/Path
)
@@ -76,15 +77,6 @@ SET(PathScripts_SRCS
PathScripts/opensbp_pre.py
PathScripts/rml_post.py
PathScripts/slic3r_pre.py
PathTests/PathTestUtils.py
PathTests/TestPathDepthParams.py
PathTests/TestPathDressupHoldingTags.py
PathTests/TestPathGeom.py
PathTests/TestPathLog.py
PathTests/TestPathPost.py
PathTests/__init__.py
PathTests/test_linuxcnc_00.ngc
TestPathApp.py
)
SET(PathScripts_NC_SRCS
@@ -95,9 +87,23 @@ SET(PathScripts_NC_SRCS
PathScripts/nc/iso_codes.py
)
SET(PathTests_SRCS
PathTests/PathTestUtils.py
PathTests/TestPathCore.py
PathTests/TestPathDepthParams.py
PathTests/TestPathDressupHoldingTags.py
PathTests/TestPathGeom.py
PathTests/TestPathLog.py
PathTests/TestPathPost.py
PathTests/__init__.py
PathTests/test_linuxcnc_00.ngc
TestPathApp.py
)
SET(all_files
${PathScripts_SRCS}
${PathScripts_NC_SRCS}
${PathTests_SRCS}
)
ADD_CUSTOM_TARGET(PathScripts ALL
@@ -120,3 +126,10 @@ INSTALL(
Mod/Path/PathScripts/nc
)
INSTALL(
FILES
${PathTests_SRCS}
DESTINATION
Mod/Path/PathTests
)