Enables C++20

This commit is contained in:
Putta Khunchalee 2022-09-15 12:31:45 +07:00
parent 42c6cd5cac
commit ecee6a2fb4

View File

@ -7,6 +7,8 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_executable(obliteration main.cpp)
target_compile_features(obliteration PUBLIC cxx_std_20)
if(WIN32)
set_target_properties(obliteration PROPERTIES LINK_FLAGS "/DYNAMICBASE:NO /MAP:obliteration.map")
else()