mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 04:20:20 +00:00
libusb: recreate gatt .h file if .gatt is changed in CMake build
This commit is contained in:
parent
50c79195c5
commit
7daf1469d8
@ -178,6 +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
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/../../tool/compile_gatt.py
|
||||
ARGS ${CMAKE_SOURCE_DIR}/../../example/${EXAMPLE}.gatt ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE}.h
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user