Files
rocm-systems/samples/CMakeLists.txt
T

23 lines
752 B
CMake
Raw Normal View History

2023-08-24 15:39:56 -07:00
#
#
#
2023-09-21 10:07:07 -05:00
cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR)
2023-08-24 15:39:56 -07:00
project(rocprofiler-samples LANGUAGES C CXX)
2023-08-08 18:39:01 -05:00
2023-09-21 14:35:20 -05:00
add_library(rocprofiler-samples-build-flags INTERFACE)
add_library(rocprofiler::samples-build-flags ALIAS rocprofiler-samples-build-flags)
target_compile_options(rocprofiler-samples-build-flags INTERFACE -W -Wall -Wextra
-Wshadow)
if(ROCPROFILER_BUILD_CI OR ROCPROFILER_BUILD_WERROR)
target_compile_options(rocprofiler-samples-build-flags INTERFACE -Werror)
endif()
2023-08-24 15:39:56 -07:00
# add_subdirectory(api_tracing)
add_subdirectory(pc_sampling)
add_subdirectory(api_callback_tracing)
add_subdirectory(api_buffered_tracing)
2023-10-16 13:41:40 -07:00
add_subdirectory(counter_collection)
2023-11-02 19:10:10 -05:00
add_subdirectory(intercept_table)