]> granicus.if.org Git - esp-idf/commitdiff
cmake: Add CMakeLists.txt file for WiFi station example
authorAngus Gratton <angus@espressif.com>
Thu, 6 Sep 2018 08:20:13 +0000 (16:20 +0800)
committerAngus Gratton <gus@projectgus.com>
Thu, 6 Sep 2018 08:20:13 +0000 (16:20 +0800)
examples/wifi/getting_started/station/CMakeLists.txt [new file with mode: 0644]

diff --git a/examples/wifi/getting_started/station/CMakeLists.txt b/examples/wifi/getting_started/station/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4825821
--- /dev/null
@@ -0,0 +1,8 @@
+# The following five 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)
+
+set(MAIN_SRCS main/station_example_main.c)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(wifi_station)