File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 5
5
# Arduino framework in order to ensure that basic functions of the Teensy hardware platform are available. This
6
6
# toolchain will build the core Teensy Arduino libraries, and include the headers as part of the target include headers.
7
7
####
8
+ set (CMAKE_CXX_STANDARD 17 )
9
+ add_compile_options (-std=c++17 -std=gnu++17 ) # Force C++17 standard
10
+
8
11
# System setup for Teensyduino
9
12
set (CMAKE_SYSTEM_NAME "Generic" )
10
13
set (CMAKE_SYSTEM_PROCESSOR "arm" )
Original file line number Diff line number Diff line change 5
5
# Arduino framework in order to ensure that basic functions of the Teensy hardware platform are available. This
6
6
# toolchain will build the core Teensy Arduino libraries, and include the headers as part of the target include headers.
7
7
####
8
+ set (CMAKE_CXX_STANDARD 17 )
9
+ add_compile_options (-std=c++17 -std=gnu++17 ) # Force C++17 standard
10
+
8
11
# System setup for Teensyduino
9
12
set (CMAKE_SYSTEM_NAME "Generic" )
10
13
set (CMAKE_SYSTEM_PROCESSOR "arm" )
Original file line number Diff line number Diff line change 5
5
# Arduino framework in order to ensure that basic functions of the Teensy hardware platform are available. This
6
6
# toolchain will build the core Teensy Arduino libraries, and include the headers as part of the target include headers.
7
7
####
8
+ set (CMAKE_CXX_STANDARD 17 )
9
+ add_compile_options (-std=c++17 -std=gnu++17 ) # Force C++17 standard
10
+
8
11
# System setup for Teensyduino
9
12
set (CMAKE_SYSTEM_NAME "Generic" )
10
13
set (CMAKE_SYSTEM_PROCESSOR "arm" )
You can’t perform that action at this time.
0 commit comments