74facf87a6
* Change all rocprofiler-X target names to rocprofiler-sdk-X * Update rocprofiler-sdk-config.cmake - fix install tree target names - simplify logic for using find w/ components and find w/o components * Update rocprofiler-sdk-roctx-config.cmake - simplify logic for using find w/ components and find w/o components * Update samples/intercept_table/CMakeLists.txt - demonstrate/test use of `find_package(rocprofiler-sdk ... COMPONENTS ...)`
17 řádky
657 B
CMake
17 řádky
657 B
CMake
set(ROCPROFILER_LIB_COUNTERS_SOURCES
|
|
metrics.cpp dimensions.cpp evaluate_ast.cpp core.cpp id_decode.cpp
|
|
dispatch_handlers.cpp controller.cpp device_counting.cpp)
|
|
set(ROCPROFILER_LIB_COUNTERS_HEADERS
|
|
metrics.hpp dimensions.hpp evaluate_ast.hpp core.hpp id_decode.hpp
|
|
dispatch_handlers.hpp controller.hpp device_counting.hpp)
|
|
target_sources(rocprofiler-sdk-object-library PRIVATE ${ROCPROFILER_LIB_COUNTERS_SOURCES}
|
|
${ROCPROFILER_LIB_COUNTERS_HEADERS})
|
|
|
|
add_subdirectory(xml)
|
|
add_subdirectory(parser)
|
|
add_subdirectory(yaml)
|
|
|
|
if(ROCPROFILER_BUILD_TESTS)
|
|
add_subdirectory(tests)
|
|
endif()
|