uavcanconfig force CMake reconfiguration after use

This commit is contained in:
Peter van der Perk 2021-03-08 17:34:46 +01:00 committed by Daniel Agar
parent 95e593f3b8
commit b9bcb7fe7f
1 changed files with 2 additions and 0 deletions

View File

@ -131,5 +131,7 @@ add_custom_target(uavcanconfig
COMMENT "Running UAVCAN make menuconfig for ${UAVCAN_DEFCONFIG}" COMMENT "Running UAVCAN make menuconfig for ${UAVCAN_DEFCONFIG}"
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/.config ${UAVCAN_DEFCONFIG} COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/.config ${UAVCAN_DEFCONFIG}
COMMENT "Saved config to ${UAVCAN_DEFCONFIG}" COMMENT "Saved config to ${UAVCAN_DEFCONFIG}"
COMMENT "Reconfiguring ${PX4_BINARY_DIR}"
COMMAND ${CMAKE_COMMAND} --clean ${PX4_BINARY_DIR}
USES_TERMINAL USES_TERMINAL
) )