diff options
author | FormerLurker <hochgebe@gmail.com> | 2021-01-18 21:35:20 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2021-01-18 21:35:20 +0300 |
commit | 3af9af2cdc778bbb7f481177cf3c840e6d9d1ee2 (patch) | |
tree | 1a1e4648c5d7a9321d7766ea265aceabe16a8198 /ArcWelder | |
parent | b35d6aa16d9dae8350a36ac0256bf68a1ac51cef (diff) |
Simplify cmake
Diffstat (limited to 'ArcWelder')
-rw-r--r-- | ArcWelder/CMakeLists.txt | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ArcWelder/CMakeLists.txt b/ArcWelder/CMakeLists.txt index 3a8dd33..738983c 100644 --- a/ArcWelder/CMakeLists.txt +++ b/ArcWelder/CMakeLists.txt @@ -1,13 +1,5 @@ -cmake_minimum_required (VERSION "3.13") - -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE Release) -endif() - project(ArcWelder C CXX) -option(USE_CXX_EXCEPTIONS "Enable C++ exception support" ON) - # add definitions from the GcodeProcessorLib project add_definitions(${GcodeProcessorLib_DEFINITIONS}) @@ -21,11 +13,6 @@ include(sourcelist.cmake) # Add a library using our ArcWelderSources variable from our sourcelist file add_library(${PROJECT_NAME} STATIC ${ArcWelderSources}) -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() - install( TARGETS ${PROJECT_NAME} ARCHIVE DESTINATION lib |