Skip to content

Commit

Permalink
Remove relative path in example CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
hayschan authored Jan 5, 2024
1 parent b309787 commit 48eff56
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions examples/default_example/main/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
# Be aware this file should not be takes as inspiration on how to set up compilation with the CMake build system when using ESP-IDF, because it directly includes the implementation files.
# This has to be done because the examples are build to test if they are still working and to automatically inform the library if a pull request would break examples.
# To actually include the library in your ESP-IDF project read the documentation especially the Installation section
set(srcs
xgzf4000-poll-data.c
../../../xgzf4000.c
)

idf_component_register(
SRCS ${srcs}
INCLUDE_DIRS "../../../include"
PRIV_INCLUDE_DIRS "../../../priv_include"
)
idf_component_register(SRCS "xgzf4000-poll-data.c"
INCLUDE_DIRS ".")

0 comments on commit 48eff56

Please sign in to comment.