generated from BrandonElectronic/ESP-COMPONENT-TEMPLATE
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove relative path in example CMakeLists.txt
- Loading branch information
Showing
1 changed file
with
2 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ".") |