forked from Archive/PX4-Autopilot
uavcanconfig force CMake reconfiguration after use
This commit is contained in:
parent
95e593f3b8
commit
b9bcb7fe7f
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue