Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit fb85d62

Browse files
Returned project() calls to examples just in case
Although not mandatory under the circumstances of the framework's 'Examples' root-project, it's required for every project users will use. It's best to simply add the call rather than hide it and confuse them.
1 parent 0ebb7d9 commit fb85d62

File tree

9 files changed

+10
-1
lines changed

9 files changed

+10
-1
lines changed

‎examples/3rd-party-library/CMakeLists.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3+
project(3rd_Party_Arduino_Library)
4+
35
arduino_cmake_project(3rd_Party_Arduino_Library BOARD_NAME nano BOARD_CPU atmega328)
46

57
# First, declare and create our executable - It'll use 4 sources

‎examples/arduino-library/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3+
project(Arduino_Library)
34

45
arduino_cmake_project(Arduino_Library BOARD_NAME nano BOARD_CPU atmega328)
56

‎examples/blink-example/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3+
project(Blink_Example)
34

45
arduino_cmake_project(Blink_Example BOARD_NAME nano BOARD_CPU atmega328)
56

‎examples/header-only-library/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3+
project(Header_Only_Lib)
34

45
arduino_cmake_project(Header_Only_Lib BOARD_NAME nano BOARD_CPU atmega328)
56

‎examples/hello-world/CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3-
#project(Hello_World)
3+
project(Hello_World)
44
#get_board_id(board_id nano atmega328)
55

66
arduino_cmake_project(Hello_World BOARD_NAME nano BOARD_CPU atmega328)

‎examples/misc/libraries/late-sources-library/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3+
project(Late_Source_Library)
34

45
arduino_cmake_project(Late_Source_Library BOARD_NAME nano BOARD_CPU atmega328)
56

‎examples/platform-library/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3+
project(Platform_Library)
34

45
arduino_cmake_project(Platform_Library BOARD_NAME nano BOARD_CPU atmega328)
56

‎examples/servo-knob-example/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3+
project(Knob_Example)
34

45
arduino_cmake_project(Knob_Example BOARD_NAME nano BOARD_CPU atmega328)
56

‎examples/sketch/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cmake_minimum_required(VERSION 3.8.2)
22

3+
project(Sketch)
34

45
arduino_cmake_project(Sketch BOARD_NAME nano BOARD_CPU atmega328)
56

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /