mirror of
https://github.com/usatiuk/cardboy.git
synced 2025-10-28 23:27:49 +01:00
some cleanup
This commit is contained in:
@@ -2,4 +2,20 @@ idf_component_register()
|
||||
|
||||
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/../../sdk" cb-sdk-build)
|
||||
|
||||
target_link_libraries(${COMPONENT_LIB} INTERFACE cardboy_sdk cardboy_sdk)
|
||||
target_link_libraries(${COMPONENT_LIB}
|
||||
INTERFACE
|
||||
cardboy_sdk
|
||||
cardboy_apps
|
||||
)
|
||||
|
||||
target_compile_definitions(${COMPONENT_LIB}
|
||||
INTERFACE
|
||||
CARDBOY_SDK_BACKEND_HEADER=\"cardboy/backend/esp_backend.hpp\"
|
||||
CARDBOY_SDK_ACTIVE_BACKEND_TYPE=cardboy::backend::EspBackend
|
||||
)
|
||||
|
||||
target_include_directories(${COMPONENT_LIB}
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_LIST_DIR}/../../main/include
|
||||
)
|
||||
target_compile_options(${COMPONENT_LIB} INTERFACE -fjump-tables -ftree-switch-conversion)
|
||||
|
||||
Reference in New Issue
Block a user