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
|
|
|
|
|
|
|
|
"-L${DRGN_PATH}/.libs"
|
|
|
|
drgn
|
|
|
|
)
|
|
|
|
add_dependencies(drgn_utils libdrgn)
|
|
|
|
|
|
|
|
add_library(symbol_service
|
|
|
|
Descs.cpp
|
|
|
|
SymbolService.cpp
|
|
|
|
)
|
|
|
|
target_link_libraries(symbol_service
|
|
|
|
drgn_utils
|
|
|
|
|
|
|
|
Boost::headers
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
glog::glog
|
|
|
|
|
|
|
|
dw
|
|
|
|
)
|
|
|
|
|
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
|
|
|
|
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-04-17 19:13:59 +01:00
|
|
|
Features.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-08-16 20:40:36 +01:00
|
|
|
add_library(exporters_json
|
|
|
|
exporters/Json.cpp
|
|
|
|
)
|
|
|
|
target_include_directories(exporters_json PUBLIC ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries(exporters_json oil)
|
|
|
|
|
2023-05-26 13:52:09 +01:00
|
|
|
add_subdirectory(type_graph)
|