Skip to content

Commit

Permalink
c++17 -> c++2a
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Nov 22, 2020
1 parent 304b599 commit ecdbc5d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion appendix/common.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)

include_directories(SYSTEM ${CMAKE_CURRENT_LIST_DIR}/../src/vendor)
include_directories(SYSTEM ${CMAKE_CURRENT_LIST_DIR}/../src/vendor/cget/include)
Expand Down
2 changes: 1 addition & 1 deletion src/bin/cli/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ targets:
compilerFlags:
- -Wall
- -Werror
- '-std=gnu++17'
- '-std=gnu++2a'
dependencies:
- framework: CoreServices.framework
2 changes: 1 addition & 1 deletion src/core/console_user_server/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ targets:
compilerFlags:
- -Wall
- -Werror
- '-std=gnu++17'
- '-std=gnu++2a'
- path: ../../vendor/cget/src/pqrs/osx/frontmost_application_monitor/impl/objc.m
dependencies:
- framework: Carbon.framework
2 changes: 1 addition & 1 deletion src/core/grabber/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ targets:
compilerFlags:
- -Wall
- -Werror
- '-std=gnu++17'
- '-std=gnu++2a'
dependencies:
- framework: CoreGraphics.framework
- framework: CoreServices.framework
Expand Down
2 changes: 1 addition & 1 deletion src/core/observer/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ targets:
compilerFlags:
- -Wall
- -Werror
- '-std=gnu++17'
- '-std=gnu++2a'
dependencies:
- framework: CoreServices.framework
- framework: IOKit.framework
2 changes: 1 addition & 1 deletion src/core/session_monitor/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ targets:
compilerFlags:
- -Wall
- -Werror
- '-std=gnu++17'
- '-std=gnu++2a'
dependencies:
- framework: CoreGraphics.framework
- framework: CoreServices.framework
2 changes: 1 addition & 1 deletion src/lib/libkrbn/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ targets:
compilerFlags:
- -Wall
- -Werror
- '-std=gnu++17'
- '-std=gnu++2a'
- path: ../../vendor/cget/src/pqrs/osx/frontmost_application_monitor/impl/objc.m
compilerFlags:
- -Wall
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)

include_directories(SYSTEM ${CMAKE_CURRENT_LIST_DIR}/../src/vendor)
include_directories(SYSTEM ${CMAKE_CURRENT_LIST_DIR}/../src/vendor/cget/include)
Expand Down

0 comments on commit ecdbc5d

Please sign in to comment.