-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #237 from es-ude/102-integrate-cexception-into-sen…
…sor-libraries Integrate CException into SHT3x library
- Loading branch information
Showing
10 changed files
with
753 additions
and
479 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,9 +1,13 @@ | ||
add_library(sensor_lib_sht3x INTERFACE) | ||
target_include_directories(sensor_lib_sht3x INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include) | ||
target_sources(sensor_lib_sht3x INTERFACE | ||
${CMAKE_CURRENT_LIST_DIR}/Sht3x.c) | ||
target_link_libraries(sensor_lib_sht3x INTERFACE | ||
add_library(sensor_lib_sht3x STATIC | ||
${CMAKE_CURRENT_LIST_DIR}/Sht3x.c | ||
) | ||
target_include_directories(sensor_lib_sht3x INTERFACE | ||
${CMAKE_CURRENT_LIST_DIR}/include | ||
) | ||
target_link_libraries(sensor_lib_sht3x PUBLIC | ||
CException | ||
) | ||
target_link_libraries(sensor_lib_sht3x PRIVATE | ||
common_lib | ||
sleep_interface | ||
i2c_interface | ||
) |
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
Oops, something went wrong.