2023-08-08 18:39:01 -05:00
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
# Forward declaration of all INTERFACE targets
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
include(rocprofiler_utilities)
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# interfaces for build flags
|
|
|
|
|
#
|
|
|
|
|
rocprofiler_add_interface_library(
|
|
|
|
|
rocprofiler-headers
|
|
|
|
|
"Provides minimal set of include flags to compile with rocprofiler")
|
2023-08-22 13:29:11 -05:00
|
|
|
rocprofiler_add_interface_library(
|
|
|
|
|
rocprofiler-build-flags "Provides generalized build flags for rocprofiler" INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-threading "Enables multithreading support"
|
|
|
|
|
INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-perfetto "Enables Perfetto support"
|
|
|
|
|
INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-compile-definitions "Compile definitions"
|
|
|
|
|
INTERNAL)
|
2023-08-08 18:39:01 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-static-libgcc
|
2023-08-22 13:29:11 -05:00
|
|
|
"Link to static version of libgcc" INTERNAL)
|
2023-08-08 18:39:01 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-static-libstdcxx
|
2023-08-22 13:29:11 -05:00
|
|
|
"Link to static version of libstdc++" INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(
|
|
|
|
|
rocprofiler-developer-flags "Compiler flags for developers (more warnings, etc.)"
|
|
|
|
|
INTERNAL)
|
2023-08-08 18:39:01 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-debug-flags
|
2023-08-22 13:29:11 -05:00
|
|
|
"Compiler flags for more debug info" INTERNAL)
|
2023-08-08 18:39:01 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-release-flags
|
2023-08-22 13:29:11 -05:00
|
|
|
"Compiler flags for more debug info" INTERNAL)
|
2023-08-08 18:39:01 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-stack-protector
|
2023-08-22 13:29:11 -05:00
|
|
|
"Adds stack-protector compiler flags" INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-memcheck INTERFACE INTERNAL)
|
2023-08-08 18:39:01 -05:00
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# interfaces for libraries
|
|
|
|
|
#
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-dl
|
2023-08-22 13:29:11 -05:00
|
|
|
"Build flags for dynamic linking library" INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-rt "Build flags for runtime library"
|
|
|
|
|
INTERNAL)
|
2023-09-21 10:07:07 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-hip "HIP library")
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-hsa-runtime "HSA runtime library")
|
2023-08-22 13:29:11 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-amd-comgr "AMD comgr library" INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-gtest "Google Test library" INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-glog "Google Log library" INTERNAL)
|
|
|
|
|
rocprofiler_add_interface_library(rocprofiler-fmt "C++ format string library" INTERNAL)
|
2023-11-28 10:04:37 -06:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-cxx-filesystem "C++ filesystem library"
|
|
|
|
|
INTERNAL)
|
2023-09-20 19:32:02 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-ptl "Parallel Tasking Library" INTERNAL)
|
2023-09-22 13:51:21 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-hsa-aql "AQL library" INTERNAL)
|
2023-10-10 18:10:23 -05:00
|
|
|
rocprofiler_add_interface_library(rocprofiler-drm "drm (amdgpu) library" INTERNAL)
|