Commit 8dc9dfc6 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Minor cleanups.

Change-Id: I63c8c354fcf4b2d83a2a7165f809afbef7a75297
parent 0044394f
......@@ -219,15 +219,15 @@ FUNCTION (protobuf_generate out_cpp_file in_proto_file)
ENDFUNCTION (protobuf_generate)
#------------------------------------------------------------------------------
# GENERATE_HTMLS_FROM_XMLS can be used to generate HTML files for
# GENERATE_HTMLS_FROM_XMLS can be used to generate HTML files for
# from a given list of xml files that correspond to server manager xmls.
# ARGUMENTS:
# output_files: OUT: variables set to the output files
# xmlpatterns: IN : Qt xmlpatterns executable.
# xmls: IN : full pathnames to xml files.
# output_dir : IN : full path to output directory where to generate the htmls.
# target : IN : name of the target to add the dependencies to.
#------------------------------------------------------------------------------
function (generate_htmls_from_xmls xmlpatterns xmls output_dir output_files)
function (generate_htmls_from_xmls output_files xmlpatterns xmls output_dir )
set (dependencies)
foreach(xml ${xmls})
get_filename_component(xml_name_we ${xml} NAME_WE)
......
......@@ -27,12 +27,11 @@ FIND_PROGRAM(QT_XMLPATTERNS_EXECUTABLE
MARK_AS_ADVANCED(QT_HELP_GENERATOR QT_XMLPATTERNS_EXECUTABLE)
# generate htmls from the server manager xmls.
generate_htmls_from_xmls(
generate_htmls_from_xmls(proxy_html_outputs
"${QT_XMLPATTERNS_EXECUTABLE}"
"${PARAVIEW_SERVERMANAGER_XMLS}"
"${CMAKE_CURRENT_BINARY_DIR}"
proxy_html_outputs)
message("${proxy_html_outputs}")
"${CMAKE_CURRENT_BINARY_DIR}")
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/paraview.qch
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/paraview.qhp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment