mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-22 16:20:54 +00:00
test/pts: recreate gatt .h file if .gatt is changed in CMake build
This commit is contained in:
parent
7daf1469d8
commit
824847eaaf
@ -198,6 +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
|
||||
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