diff options
Diffstat (limited to 'ArcWelderConsole')
-rw-r--r-- | ArcWelderConsole/CMakeLists.txt | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ArcWelderConsole/CMakeLists.txt b/ArcWelderConsole/CMakeLists.txt index 8ccebcb..5ef3591 100644 --- a/ArcWelderConsole/CMakeLists.txt +++ b/ArcWelderConsole/CMakeLists.txt @@ -1,14 +1,8 @@ -cmake_minimum_required (VERSION "3.13") - -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE Release) -endif() - project(ArcWelderConsole C CXX) # add definitions from the GcodeProcessorLib and ArcWelder libraries add_definitions(${GcodeProcessorLib_DEFINITIONS} ${ArcWelder_DEFINITIONS}) -add_definitions("-DHAS_GENERATED_VERSION") +#add_definitions("-DHAS_GENERATED_VERSION") # Include the GcodeProcessorLib and ArcWelder's directories include_directories(${GcodeProcessorLib_INCLUDE_DIRS} ${ArcWelder_INCLUDE_DIRS} ${TCLAP_INCLUDE_DIRS}) @@ -17,17 +11,11 @@ include_directories(${GcodeProcessorLib_INCLUDE_DIRS} ${ArcWelder_INCLUDE_DIRS} # ArcWelderConsoleSources variable include(sourcelist.cmake) -if(MSVC) - # link to the msvc runtime statically, keeping debug info if we are in debug config - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") -endif() - # Add an executable our ArcWelderConsoleSources variable from our sourcelist file add_executable(${PROJECT_NAME} ${ArcWelderConsoleSources}) # change the executable name to ArcWelder or ArcWelder.exe set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "ArcWelder") - install( TARGETS ${PROJECT_NAME} DESTINATION bin |