object-introspection/oi/type_graph/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
630 B
CMake
Raw Permalink Normal View History

add_library(type_graph
AddChildren.cpp
AddPadding.cpp
AlignmentCalc.cpp
ClangTypeParser.cpp
DrgnExporter.cpp
DrgnParser.cpp
EnforceCompatibility.cpp
Flattener.cpp
IdentifyContainers.cpp
2023-09-22 14:34:22 +01:00
KeyCapture.cpp
NameGen.cpp
PassManager.cpp
Printer.cpp
Prune.cpp
RemoveMembers.cpp
RemoveTopLevelPointer.cpp
TopoSorter.cpp
TypeGraph.cpp
TypeIdentifier.cpp
Types.cpp
)
add_dependencies(type_graph libdrgn)
target_link_libraries(type_graph
container_info
symbol_service
"-L${DRGN_PATH}/.libs"
drgn
)
target_include_directories(type_graph SYSTEM PUBLIC ${LLVM_INCLUDE_DIRS} ${CLANG_INCLUDE_DIRS})