Fix xsd generation in ddsconf
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
parent
93c75186f0
commit
f4e99f41f6
13 changed files with 132 additions and 101 deletions
|
@ -18,18 +18,14 @@ set(options_md "${CMAKE_CURRENT_BINARY_DIR}/manual/options.md")
|
|||
|
||||
if(BUILD_SCHEMA OR BUILD_DOCS)
|
||||
add_custom_command(
|
||||
OUTPUT "${cyclonedds_rnc}" "${cyclonedds_xsd}"
|
||||
OUTPUT "${cyclonedds_rnc}" "${cyclonedds_xsd}" "${options_md}"
|
||||
COMMAND ddsconf ARGS -f rnc -o "${cyclonedds_rnc}"
|
||||
COMMAND ddsconf ARGS -f xsd -o "${cyclonedds_xsd}"
|
||||
DEPENDS ddsconf)
|
||||
add_custom_target(schema DEPENDS "${cyclonedds_rnc}" "${cyclonedds_xsd}")
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${options_md}"
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory manual
|
||||
COMMAND ddsconf ARGS -f md -o "${options_md}"
|
||||
DEPENDS ddsconf)
|
||||
add_custom_target(options_doc DEPENDS "${options_md}")
|
||||
add_custom_target(
|
||||
schema ALL DEPENDS "${cyclonedds_rnc}" "${cyclonedds_xsd}" "${options_md}")
|
||||
endif()
|
||||
|
||||
if(BUILD_DOCS)
|
||||
|
@ -39,7 +35,7 @@ if(BUILD_DOCS)
|
|||
BREATHE_PROJECTS ddsc_api_docs
|
||||
BUILDER html
|
||||
SOURCE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/manual")
|
||||
add_dependencies(docs options_doc)
|
||||
add_dependencies(docs schema)
|
||||
|
||||
install(
|
||||
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/docs"
|
||||
|
|
|
@ -1695,4 +1695,4 @@ While none prevents any message from being written to a DDSI2 log file.
|
|||
|
||||
The categorisation of tracing output is incomplete and hence most of the verbosity levels and categories are not of much use in the current release. This is an ongoing process and here we describe the target situation rather than the current situation. Currently, the most useful verbosity levels are config, fine and finest.
|
||||
|
||||
The default value is: "none".
|
||||
The default value is: "none".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue