Skip to content

Commit

Permalink
removing explicit compile_options
Browse files Browse the repository at this point in the history
  • Loading branch information
xoorath committed Feb 10, 2022
1 parent 7baa0d5 commit 940cf39
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ cmake_minimum_required (VERSION 3.15)

set(CMAKE_CXX_STANDARD 20)


add_compile_options(
$<$<CONFIG:>:/MT>
$<$<CONFIG:Debug>:/MTd>
$<$<CONFIG:Release>:/MT>
$<$<CONFIG:RelWithDebInfo>:/MTd>
$<$<CONFIG:MinSizeRel>:/MT>
)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

# This is specifically to pretty up packages made with github actions.
Expand All @@ -32,7 +24,6 @@ file(GLOB_RECURSE PROJ_SOURCE_FILES

add_executable(${PROJECT_NAME} ${PROJ_SOURCE_FILES})


set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/Example")
set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DEBUGGER_COMMAND_ARGUMENTS "-v")
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${PROJECT_NAME})

0 comments on commit 940cf39

Please sign in to comment.