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.
7 lines
284 B
7 lines
284 B
3 years ago
|
add_custom_command(
|
||
|
OUTPUT sub.txt
|
||
|
COMMAND ${CMAKE_COMMAND} -DOUTFILE=sub.txt -DINFILE=subdep.txt -DDEPFILE=sub.txt.d -DSTAMPFILE=substamp.txt -DDEPDIR=${depdir} -P ${CMAKE_SOURCE_DIR}/WriteDepfile.cmake
|
||
|
DEPFILE ${depdir}sub.txt.d
|
||
|
)
|
||
|
add_custom_target(sub ALL DEPENDS sub.txt)
|