mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-22 16:20:54 +00:00
fix dependency on .gatt file in CMake builds
This commit is contained in:
parent
c7747faaec
commit
ed4f8b7280
@ -178,7 +178,7 @@ foreach(EXAMPLE_FILE ${EXAMPLES_C})
|
||||
message("example ${EXAMPLE} -- with GATT DB")
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h
|
||||
DEPENDS ${CMAKE_SOURCE_DIR}/${EXAMPLE}.gatt
|
||||
DEPENDS ${CMAKE_SOURCE_DIR}/../../example/${EXAMPLE}.gatt
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/../../tool/compile_gatt.py
|
||||
ARGS ${CMAKE_SOURCE_DIR}/../../example/${EXAMPLE}.gatt ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h
|
||||
)
|
||||
|
@ -198,7 +198,7 @@ foreach(EXAMPLE_FILE ${EXAMPLES_C})
|
||||
message("PTS Tool: ${EXAMPLE} -- with GATT DB")
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h
|
||||
DEPENDS ${CMAKE_SOURCE_DIR}/${EXAMPLE}.gatt
|
||||
DEPENDS ${CMAKE_SOURCE_DIR}/../../example/${EXAMPLE}.gatt
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/../../tool/compile_gatt.py
|
||||
ARGS ${CMAKE_SOURCE_DIR}/${EXAMPLE}.gatt ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user