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:
authorFormerLurker <hochgebe@gmail.com>2021-01-18 21:35:20 +0300
committerFormerLurker <hochgebe@gmail.com>2021-01-18 21:35:20 +0300
commit3af9af2cdc778bbb7f481177cf3c840e6d9d1ee2 (patch)
tree1a1e4648c5d7a9321d7766ea265aceabe16a8198 /ArcWelderInverseProcessor
parentb35d6aa16d9dae8350a36ac0256bf68a1ac51cef (diff)
Simplify cmake
Diffstat (limited to 'ArcWelderInverseProcessor')
-rw-r--r--ArcWelderInverseProcessor/CMakeLists.txt14
1 files changed, 1 insertions, 13 deletions
diff --git a/ArcWelderInverseProcessor/CMakeLists.txt b/ArcWelderInverseProcessor/CMakeLists.txt
index 6d04eee..8a9de2c 100644
--- a/ArcWelderInverseProcessor/CMakeLists.txt
+++ b/ArcWelderInverseProcessor/CMakeLists.txt
@@ -1,14 +1,8 @@
-cmake_minimum_required (VERSION "3.13")
-
-if(NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE Release)
-endif()
-
project(ArcWelderInverseProcessor 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,12 +11,6 @@ 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}