mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 23:29:41 +02:00
Distinguish nodes in modules.dot.svg that depend directly on wxBase
This commit is contained in:
parent
1f71ef4300
commit
26217c22f1
@ -339,7 +339,7 @@ function( audacity_module_fn NAME SOURCES IMPORT_TARGETS
|
||||
endif ()
|
||||
|
||||
if (LIBTYPE STREQUAL "MODULE")
|
||||
set( SHAPE "box" )
|
||||
set( ATTRIBUTES "shape=box" )
|
||||
set_target_property_all( ${TARGET} ${DIRECTORY_PROPERTY} "${_MODDIR}" )
|
||||
set_target_properties( ${TARGET}
|
||||
PROPERTIES
|
||||
@ -347,7 +347,7 @@ function( audacity_module_fn NAME SOURCES IMPORT_TARGETS
|
||||
FOLDER "modules" # for IDE organization
|
||||
)
|
||||
else()
|
||||
set( SHAPE "octagon" )
|
||||
set( ATTRIBUTES "shape=octagon" )
|
||||
set_target_property_all( ${TARGET} ${DIRECTORY_PROPERTY} "${_EXEDIR}" )
|
||||
set_target_properties( ${TARGET}
|
||||
PROPERTIES
|
||||
@ -356,6 +356,10 @@ function( audacity_module_fn NAME SOURCES IMPORT_TARGETS
|
||||
)
|
||||
endif()
|
||||
|
||||
if( "wxBase" IN_LIST IMPORT_TARGETS )
|
||||
string( APPEND ATTRIBUTES " style=filled" )
|
||||
endif()
|
||||
|
||||
export_symbol_define( export_symbol "${TARGET}" )
|
||||
import_symbol_define( import_symbol "${TARGET}" )
|
||||
list( APPEND DEFINES
|
||||
@ -420,7 +424,7 @@ function( audacity_module_fn NAME SOURCES IMPORT_TARGETS
|
||||
endif()
|
||||
|
||||
# collect dependency information
|
||||
list( APPEND GRAPH_EDGES "\"${TARGET}\" [shape=${SHAPE}]" )
|
||||
list( APPEND GRAPH_EDGES "\"${TARGET}\" [${ATTRIBUTES}]" )
|
||||
if (NOT LIBTYPE STREQUAL "MODULE")
|
||||
list( APPEND GRAPH_EDGES "\"Audacity\" -> \"${TARGET}\"" )
|
||||
endif ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user