You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
255 B

add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/dummy.txt"
COMMAND ${CMAKE_COMMAND} -E touch "${CMAKE_CURRENT_BINARY_DIR}/dummy.txt"
DEPFILE dummy.txt.d
)
add_custom_target(subdir_space ALL
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/dummy.txt"
)