cmake: bochs{,all}clean targets don't fail even if stamp file doesn't exist
This commit is contained in:
@ -121,14 +121,14 @@ if(BUILD_BOCHS)
|
|||||||
add_custom_target(bochsclean
|
add_custom_target(bochsclean
|
||||||
COMMAND +make -C ${bochs_src_dir} clean
|
COMMAND +make -C ${bochs_src_dir} clean
|
||||||
# touch stamp file to force rebuild, without calling configure again.
|
# touch stamp file to force rebuild, without calling configure again.
|
||||||
COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${stamp_dir}/libfailbochs_external-configure
|
COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${stamp_dir}/libfailbochs_external-configure || true
|
||||||
COMMENT "[${PROJECT_NAME}] Cleaning all up (clean in bochs)"
|
COMMENT "[${PROJECT_NAME}] Cleaning all up (clean in bochs)"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_target(bochsallclean
|
add_custom_target(bochsallclean
|
||||||
COMMAND +make -C ${bochs_src_dir} all-clean
|
COMMAND +make -C ${bochs_src_dir} all-clean
|
||||||
# touch stamp file to force rebuild, without calling configure again.
|
# touch stamp file to force rebuild, without calling configure again.
|
||||||
COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${stamp_dir}/libfailbochs_external-configure
|
COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${stamp_dir}/libfailbochs_external-configure || true
|
||||||
COMMENT "[${PROJECT_NAME}] Cleaning all up (all-clean in bochs)"
|
COMMENT "[${PROJECT_NAME}] Cleaning all up (all-clean in bochs)"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user