mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-24 21:28:41 -05:00
Take out invalid custom command output that causes unnecessary rebuilds
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5317 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
8440dd5af0
commit
3947b91098
@ -105,10 +105,9 @@ function (html_document)
|
||||
cmake_parse_arguments (args "" "SOURCE;HTML" "ASCIIDOC_OPTIONS;DEPENDS" ${ARGN})
|
||||
get_filename_component (_output_name_we ${args_SOURCE} NAME_WE)
|
||||
get_filename_component (_path ${args_SOURCE} PATH)
|
||||
set (_xml_file ${CMAKE_CURRENT_BINARY_DIR}/${_output_name_we}.xml)
|
||||
set (_doc_file ${CMAKE_CURRENT_BINARY_DIR}/${_output_name_we}.html)
|
||||
add_custom_command (
|
||||
OUTPUT ${_doc_file} ${_xml_file}
|
||||
OUTPUT ${_doc_file}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${path}
|
||||
COMMAND ${ASCIIDOC} ARGS ${args_ASCIIDOC_OPTIONS} -o ${CMAKE_CURRENT_BINARY_DIR}/${_output_name_we}.html ${args_SOURCE}
|
||||
DEPENDS ${args_DEPENDS}
|
||||
|
Loading…
Reference in New Issue
Block a user