2023-01-24 18:53:23 -06:00
|
|
|
#
|
|
|
|
|
set(binary_sources
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/address_multirange.cpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/analysis.cpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/dwarf_entry.cpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/link_map.cpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/scope_filter.cpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/symbol.cpp)
|
|
|
|
|
|
|
|
|
|
set(binary_headers
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/address_multirange.hpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/analysis.hpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/dwarf_entry.hpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/binary_info.hpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/link_map.hpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/scope_filter.hpp
|
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/symbol.hpp)
|
|
|
|
|
|
2024-10-15 11:20:40 -04:00
|
|
|
add_library(rocprofiler-systems-binary-library STATIC)
|
|
|
|
|
add_library(rocprofiler-systems::rocprofiler-systems-binary ALIAS
|
|
|
|
|
rocprofiler-systems-binary-library)
|
2023-02-04 10:59:50 -06:00
|
|
|
|
2024-10-15 11:20:40 -04:00
|
|
|
target_sources(rocprofiler-systems-binary-library PRIVATE ${binary_sources}
|
|
|
|
|
${binary_headers})
|
2023-02-04 10:59:50 -06:00
|
|
|
|
|
|
|
|
target_link_libraries(
|
2024-10-15 11:20:40 -04:00
|
|
|
rocprofiler-systems-binary-library
|
|
|
|
|
PRIVATE rocprofiler-systems::rocprofiler-systems-interface-library
|
|
|
|
|
rocprofiler-systems::rocprofiler-systems-core)
|
2023-02-04 10:59:50 -06:00
|
|
|
|
2024-10-15 11:20:40 -04:00
|
|
|
set_target_properties(rocprofiler-systems-binary-library
|
|
|
|
|
PROPERTIES OUTPUT_NAME ${BINARY_NAME_PREFIX}-binary)
|