mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[CMAKE] Fix empty dependencies.graphml being created
This commit is contained in:
parent
b809275cbe
commit
35103558e1
|
@ -18,12 +18,16 @@ function(add_dependency_edge _source _target)
|
|||
endfunction()
|
||||
|
||||
function(add_dependency_header)
|
||||
file(WRITE ${REACTOS_BINARY_DIR}/dependencies.graphml "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<graphml>\n <graph id=\"ReactOS dependencies\" edgedefault=\"directed\">\n")
|
||||
if(GENERATE_DEPENDENCY_GRAPH)
|
||||
file(WRITE ${REACTOS_BINARY_DIR}/dependencies.graphml "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<graphml>\n <graph id=\"ReactOS dependencies\" edgedefault=\"directed\">\n")
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
function(add_dependency_footer)
|
||||
add_dependency_node(ntdll)
|
||||
file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml " </graph>\n</graphml>\n")
|
||||
if(GENERATE_DEPENDENCY_GRAPH)
|
||||
add_dependency_node(ntdll)
|
||||
file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml " </graph>\n</graphml>\n")
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
function(add_message_headers _type)
|
||||
|
|
Loading…
Reference in a new issue