File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ option(BUILD_ESP "Build for esp" OFF)
55option (BUILD_EMULATOR "Build for emulator" OFF )
66option (BUILD_UNITTEST "Build for testing" OFF )
77
8+ # Use C++17
9+ set (CMAKE_CXX_STANDARD 17)
10+
811if (ESP_PLATFORM)
912 set (BUILD_ESP ON )
1013endif ()
@@ -57,9 +60,6 @@ if (BUILD_EMULATOR)
5760 add_definitions (-DTRACE=0)
5861 add_definitions (-DWARN=0)
5962
60- # Use C++11
61- set (CMAKE_CXX_STANDARD 11)
62-
6363 # Set default compile flags for GCC
6464 if (CMAKE_COMPILER_IS_GNUCXX)
6565 add_compile_options (-g -v -Wall -Wextra -Wunused)
@@ -94,9 +94,6 @@ if (BUILD_UNITTEST)
9494 src/Edward/proxy_supervisor.cpp
9595 src/Edward/RFC.cpp)
9696
97- # Use C++11
98- set (CMAKE_CXX_STANDARD 11)
99-
10097 # Set default compile flags for GCC
10198 if (CMAKE_COMPILER_IS_GNUCXX)
10299 add_compile_options (-g -v -Wall -Wextra -Wunused)
You can’t perform that action at this time.
0 commit comments