We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2250c commit 8c42259Copy full SHA for 8c42259
CMakeLists.txt
@@ -0,0 +1,10 @@
1
+if(IDF_VERSION_MAJOR GREATER_EQUAL 4)
2
+ idf_component_register(SRC_DIRS src
3
+ REQUIRES log driver
4
+ INCLUDE_DIRS include)
5
+else()
6
+ set(COMPONENT_SRCDIRS src)
7
+ set(COMPONENT_ADD_INCLUDEDIRS include)
8
+ set(COMPONENT_REQUIRES log driver)
9
+ register_component()
10
+endif()
component.mk
@@ -1 +1,2 @@
-# Use defaults
+COMPONENT_ADD_INCLUDEDIRS = include
+COMPONENT_SRCDIRS = src
0 commit comments