mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
This commit is contained in:
parent
050db4facb
commit
23373acbb9
544 changed files with 566 additions and 553 deletions
|
@ -83,7 +83,7 @@ endmacro()
|
|||
function(add_dependency_node _node)
|
||||
if(GENERATE_DEPENDENCY_GRAPH)
|
||||
get_target_property(_type ${_node} TYPE)
|
||||
if(_type MATCHES SHARED_LIBRARY OR ${_node} MATCHES ntoskrnl)
|
||||
if(_type MATCHES SHARED_LIBRARY|MODULE_LIBRARY OR ${_node} MATCHES ntoskrnl)
|
||||
file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml " <node id=\"${_node}\"/>\n")
|
||||
endif()
|
||||
endif()
|
||||
|
@ -92,7 +92,7 @@ endfunction()
|
|||
function(add_dependency_edge _source _target)
|
||||
if(GENERATE_DEPENDENCY_GRAPH)
|
||||
get_target_property(_type ${_source} TYPE)
|
||||
if(_type MATCHES SHARED_LIBRARY)
|
||||
if(_type MATCHES SHARED_LIBRARY|MODULE_LIBRARY)
|
||||
file(APPEND ${REACTOS_BINARY_DIR}/dependencies.graphml " <edge source=\"${_source}\" target=\"${_target}\"/>\n")
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue