diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..2fe5569 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +set(COMPONENT_SRCDIRS + "src" + "src/aes" + "src/hal" + "src/lmic" +) +set(COMPONENT_ADD_INCLUDEDIRS + "include" +) +set(COMPONENT_REQUIRES + nvs_flash +) + +register_component() 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()