diff options
Diffstat (limited to 'ArcWelder/CMakeLists.txt')
-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 |