2023-05-25 11:42:20 +01:00
|
|
|
add_library(toml
|
|
|
|
support/Toml.cpp
|
|
|
|
)
|
|
|
|
target_link_libraries(toml PUBLIC tomlplusplus::tomlplusplus)
|
|
|
|
|
2023-02-17 15:16:25 +00:00
|
|
|
add_library(drgn_utils DrgnUtils.cpp)
|
|
|
|
target_link_libraries(drgn_utils
|
|
|
|
glog::glog
|
|
|
|
drgn
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(symbol_service
|
|
|
|
Descs.cpp
|
|
|
|
SymbolService.cpp
|
2024-08-23 10:39:18 +01:00
|
|
|
arch/aarch64.cpp
|
|
|
|
arch/x86_64.cpp
|
2023-02-17 15:16:25 +00:00
|
|
|
)
|
|
|
|
target_link_libraries(symbol_service
|
|
|
|
drgn_utils
|
|
|
|
|
|
|
|
Boost::headers
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
glog::glog
|
|
|
|
|
|
|
|
dw
|
|
|
|
)
|
|
|
|
|
2023-10-09 21:39:33 +01:00
|
|
|
add_library(features Features.cpp)
|
|
|
|
target_link_libraries(features glog::glog)
|
|
|
|
|
2023-05-26 13:52:09 +01:00
|
|
|
add_library(container_info
|
2023-02-17 15:16:25 +00:00
|
|
|
ContainerInfo.cpp
|
2023-05-26 13:52:09 +01:00
|
|
|
)
|
|
|
|
target_link_libraries(container_info
|
2023-10-09 21:39:33 +01:00
|
|
|
features
|
2024-01-23 18:15:43 +00:00
|
|
|
|
|
|
|
Boost::regex
|
2023-05-26 13:52:09 +01:00
|
|
|
glog::glog
|
2023-05-25 11:42:20 +01:00
|
|
|
toml
|
2023-05-26 13:52:09 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(codegen
|
2023-05-26 18:26:32 +01:00
|
|
|
CodeGen.cpp
|
2023-02-17 15:16:25 +00:00
|
|
|
FuncGen.cpp
|
|
|
|
OICodeGen.cpp
|
|
|
|
)
|
|
|
|
target_link_libraries(codegen
|
2023-05-26 13:52:09 +01:00
|
|
|
container_info
|
2023-06-20 17:57:13 +01:00
|
|
|
resources
|
2023-02-17 15:16:25 +00:00
|
|
|
symbol_service
|
2023-05-26 18:26:32 +01:00
|
|
|
type_graph
|
2023-02-17 15:16:25 +00:00
|
|
|
|
|
|
|
Boost::headers
|
|
|
|
${Boost_LIBRARIES}
|
2023-03-17 15:49:17 +00:00
|
|
|
folly_headers
|
2023-02-17 15:16:25 +00:00
|
|
|
glog::glog
|
|
|
|
)
|
2023-05-26 13:52:09 +01:00
|
|
|
|
2023-09-18 16:41:34 +01:00
|
|
|
add_library(exporters_csv exporters/CSV.cpp)
|
|
|
|
target_include_directories(exporters_csv PUBLIC ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries(exporters_csv oil)
|
|
|
|
|
2023-05-26 13:52:09 +01:00
|
|
|
add_subdirectory(type_graph)
|