From 267e04c833b1b7e43b255b728c48b65bdbf84aad Mon Sep 17 00:00:00 2001 From: Manuel Bleichenbacher Date: Tue, 19 Mar 2019 21:49:08 +0100 Subject: [PATCH] Add cmake files for examples --- examples/hello_world/CMakeLists.txt | 6 ++++++ examples/hello_world/main/CMakeLists.txt | 4 ++++ examples/mac_address/CMakeLists.txt | 6 ++++++ examples/mac_address/main/CMakeLists.txt | 4 ++++ examples/provisioning/CMakeLists.txt | 6 ++++++ examples/provisioning/main/CMakeLists.txt | 4 ++++ examples/send_recv/CMakeLists.txt | 6 ++++++ examples/send_recv/main/CMakeLists.txt | 4 ++++ 8 files changed, 40 insertions(+) create mode 100644 examples/hello_world/CMakeLists.txt create mode 100644 examples/hello_world/main/CMakeLists.txt create mode 100644 examples/mac_address/CMakeLists.txt create mode 100644 examples/mac_address/main/CMakeLists.txt create mode 100644 examples/provisioning/CMakeLists.txt create mode 100644 examples/provisioning/main/CMakeLists.txt create mode 100644 examples/send_recv/CMakeLists.txt create mode 100644 examples/send_recv/main/CMakeLists.txt diff --git a/examples/hello_world/CMakeLists.txt b/examples/hello_world/CMakeLists.txt new file mode 100644 index 0000000..3772daf --- /dev/null +++ b/examples/hello_world/CMakeLists.txt @@ -0,0 +1,6 @@ +# The following lines of boilerplate have to be in your project's +# CMakeLists in this exact order for cmake to work correctly +cmake_minimum_required(VERSION 3.5) + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(hello_world) diff --git a/examples/hello_world/main/CMakeLists.txt b/examples/hello_world/main/CMakeLists.txt new file mode 100644 index 0000000..e931882 --- /dev/null +++ b/examples/hello_world/main/CMakeLists.txt @@ -0,0 +1,4 @@ +set(COMPONENT_SRCS "main.cpp") +set(COMPONENT_ADD_INCLUDEDIRS "") + +register_component() diff --git a/examples/mac_address/CMakeLists.txt b/examples/mac_address/CMakeLists.txt new file mode 100644 index 0000000..83eb477 --- /dev/null +++ b/examples/mac_address/CMakeLists.txt @@ -0,0 +1,6 @@ +# The following lines of boilerplate have to be in your project's +# CMakeLists in this exact order for cmake to work correctly +cmake_minimum_required(VERSION 3.5) + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(mac_address) diff --git a/examples/mac_address/main/CMakeLists.txt b/examples/mac_address/main/CMakeLists.txt new file mode 100644 index 0000000..e931882 --- /dev/null +++ b/examples/mac_address/main/CMakeLists.txt @@ -0,0 +1,4 @@ +set(COMPONENT_SRCS "main.cpp") +set(COMPONENT_ADD_INCLUDEDIRS "") + +register_component() diff --git a/examples/provisioning/CMakeLists.txt b/examples/provisioning/CMakeLists.txt new file mode 100644 index 0000000..7c2ad64 --- /dev/null +++ b/examples/provisioning/CMakeLists.txt @@ -0,0 +1,6 @@ +# The following lines of boilerplate have to be in your project's +# CMakeLists in this exact order for cmake to work correctly +cmake_minimum_required(VERSION 3.5) + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(provisioning) diff --git a/examples/provisioning/main/CMakeLists.txt b/examples/provisioning/main/CMakeLists.txt new file mode 100644 index 0000000..e931882 --- /dev/null +++ b/examples/provisioning/main/CMakeLists.txt @@ -0,0 +1,4 @@ +set(COMPONENT_SRCS "main.cpp") +set(COMPONENT_ADD_INCLUDEDIRS "") + +register_component() diff --git a/examples/send_recv/CMakeLists.txt b/examples/send_recv/CMakeLists.txt new file mode 100644 index 0000000..11b81ee --- /dev/null +++ b/examples/send_recv/CMakeLists.txt @@ -0,0 +1,6 @@ +# The following lines of boilerplate have to be in your project's +# CMakeLists in this exact order for cmake to work correctly +cmake_minimum_required(VERSION 3.5) + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(send_recv) diff --git a/examples/send_recv/main/CMakeLists.txt b/examples/send_recv/main/CMakeLists.txt new file mode 100644 index 0000000..e931882 --- /dev/null +++ b/examples/send_recv/main/CMakeLists.txt @@ -0,0 +1,4 @@ +set(COMPONENT_SRCS "main.cpp") +set(COMPONENT_ADD_INCLUDEDIRS "") + +register_component()