2023-05-26 13:52:09 +01:00
|
|
|
add_library(type_graph
|
|
|
|
AddChildren.cpp
|
|
|
|
AddPadding.cpp
|
|
|
|
AlignmentCalc.cpp
|
2023-12-19 19:57:44 +00:00
|
|
|
ClangTypeParser.cpp
|
2023-12-13 16:49:41 +00:00
|
|
|
DrgnExporter.cpp
|
2023-05-26 13:52:09 +01:00
|
|
|
DrgnParser.cpp
|
2023-07-11 17:58:21 +01:00
|
|
|
EnforceCompatibility.cpp
|
2023-05-26 13:52:09 +01:00
|
|
|
Flattener.cpp
|
2023-11-02 13:05:35 +00:00
|
|
|
IdentifyContainers.cpp
|
2023-09-22 14:34:22 +01:00
|
|
|
KeyCapture.cpp
|
2023-05-26 13:52:09 +01:00
|
|
|
NameGen.cpp
|
|
|
|
PassManager.cpp
|
|
|
|
Printer.cpp
|
2023-07-25 18:02:53 +01:00
|
|
|
Prune.cpp
|
2023-07-25 13:45:22 +01:00
|
|
|
RemoveMembers.cpp
|
2023-05-26 13:52:09 +01:00
|
|
|
RemoveTopLevelPointer.cpp
|
|
|
|
TopoSorter.cpp
|
2023-07-04 19:07:30 +01:00
|
|
|
TypeGraph.cpp
|
2023-05-26 13:52:09 +01:00
|
|
|
TypeIdentifier.cpp
|
|
|
|
Types.cpp
|
|
|
|
)
|
|
|
|
add_dependencies(type_graph libdrgn)
|
|
|
|
target_link_libraries(type_graph
|
2023-06-26 19:00:51 +01:00
|
|
|
container_info
|
2023-05-26 13:52:09 +01:00
|
|
|
symbol_service
|
|
|
|
|
|
|
|
"-L${DRGN_PATH}/.libs"
|
|
|
|
drgn
|
|
|
|
)
|
2023-12-19 19:57:44 +00:00
|
|
|
target_include_directories(type_graph SYSTEM PUBLIC ${LLVM_INCLUDE_DIRS} ${CLANG_INCLUDE_DIRS})
|