Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ArcWelderInverseProcessor/CMakeLists.txt')
-rw-r--r--ArcWelderInverseProcessor/CMakeLists.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/ArcWelderInverseProcessor/CMakeLists.txt b/ArcWelderInverseProcessor/CMakeLists.txt
index 8a9de2c..d2111d1 100644
--- a/ArcWelderInverseProcessor/CMakeLists.txt
+++ b/ArcWelderInverseProcessor/CMakeLists.txt
@@ -1,21 +1,19 @@
project(ArcWelderInverseProcessor C CXX)
# add definitions from the GcodeProcessorLib and ArcWelder libraries
-add_definitions(${GcodeProcessorLib_DEFINITIONS} ${ArcWelder_DEFINITIONS})
+add_definitions(${GcodeProcessorLib_DEFINITIONS} )
#add_definitions("-DHAS_GENERATED_VERSION")
# Include the GcodeProcessorLib and ArcWelder's directories
-include_directories(${GcodeProcessorLib_INCLUDE_DIRS} ${ArcWelder_INCLUDE_DIRS} ${TCLAP_INCLUDE_DIRS})
+include_directories(${GcodeProcessorLib_INCLUDE_DIRS} ${TCLAP_INCLUDE_DIRS})
# include sourcelist.cmake, which contains our source list and exposes it as the
# ArcWelderConsoleSources variable
include(sourcelist.cmake)
# Add an executable our ArcWelderConsoleSources variable from our sourcelist file
-add_executable(
- ${PROJECT_NAME}
- ${ArcWelderInverseProcessorSources}
-)
+add_executable(${PROJECT_NAME} ${ArcWelderInverseProcessorSources})
+# change the executable name to ArcWelder or ArcStraightener.exe
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "ArcStraightener")
install(
@@ -23,7 +21,6 @@ install(
DESTINATION bin
)
-
# specify linking to the GcodeProcessorLib and ArcWelder libraries
-target_link_libraries(${PROJECT_NAME} TCLAP GcodeProcessorLib ArcWelder)
+target_link_libraries(${PROJECT_NAME} GcodeProcessorLib TCLAP)