CMakeLists.txt: improve dependencies of xD-replies
This commit is contained in:
parent
3af1765261
commit
74470f1aa4
|
@ -148,9 +148,12 @@ include_directories (${PROJECT_SOURCE_DIR} ${PROJECT_BINARY_DIR})
|
||||||
|
|
||||||
# Generate IRC replies--we need a custom target because of the multiple outputs
|
# Generate IRC replies--we need a custom target because of the multiple outputs
|
||||||
add_custom_command (OUTPUT xD-replies.c xD.msg
|
add_custom_command (OUTPUT xD-replies.c xD.msg
|
||||||
COMMAND env LC_ALL=C awk -f ${PROJECT_SOURCE_DIR}/xD-gen-replies.awk
|
COMMAND env LC_ALL=C awk
|
||||||
> xD-replies.c < ${PROJECT_SOURCE_DIR}/xD-replies
|
-f ${PROJECT_SOURCE_DIR}/xD-gen-replies.awk
|
||||||
DEPENDS ${PROJECT_SOURCE_DIR}/xD-replies
|
${PROJECT_SOURCE_DIR}/xD-replies > xD-replies.c
|
||||||
|
DEPENDS
|
||||||
|
${PROJECT_SOURCE_DIR}/xD-gen-replies.awk
|
||||||
|
${PROJECT_SOURCE_DIR}/xD-replies
|
||||||
COMMENT "Generating files from the list of server numerics")
|
COMMENT "Generating files from the list of server numerics")
|
||||||
add_custom_target (replies DEPENDS ${PROJECT_BINARY_DIR}/xD-replies.c)
|
add_custom_target (replies DEPENDS ${PROJECT_BINARY_DIR}/xD-replies.c)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue