Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit bda03a4

Browse files
mimi89999dlech
authored andcommitted
Set c++ std to 20
Also removes redundant /await flag
1 parent 2831ccb commit bda03a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ file(GLOB headers RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
99
"pywinrt/${CMAKE_PROJECT_NAME}/src/*.h"
1010
)
1111

12-
set(CMAKE_CXX_STANDARD 17)
12+
set(CMAKE_CXX_STANDARD 20)
1313
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1414
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
1515

1616
# TODO: re-enable /GL and /LTCG when we get a bigger build machine
17-
add_compile_options(/await /bigobj /GR- /permissive-)
17+
add_compile_options(/bigobj /GR- /permissive-)
1818

1919
# strip suffix to allow support for prerelease version
2020
string(REGEX MATCH "^[0-9]\\.[0-9]+(\\.[0-9]+)?" PYTHON_BASE_VERSION ${PYTHON_VERSION_STRING})

0 commit comments

Comments
 (0)