From 831e467f9e76e4d5d047f59e7194b8d5d3d6eb35 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Fri, 27 Jan 2017 13:28:41 -0800 Subject: [PATCH] Refactored cmake file and added TestPathCore. --- src/Mod/Path/CMakeLists.txt | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/src/Mod/Path/CMakeLists.txt b/src/Mod/Path/CMakeLists.txt index 3068df25c..d2fda31d1 100644 --- a/src/Mod/Path/CMakeLists.txt +++ b/src/Mod/Path/CMakeLists.txt @@ -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 +) +