Changing build directory structure to match rocm

Change-Id: I22ed8ef777cfdbebe6caca65b68ff5e6bb12d35e


[ROCm/rocprofiler commit: 6dc1066d5d]
This commit is contained in:
Ammar ELWazir
2023-06-06 01:20:05 +00:00
committed by Ammar Elwazir
parent 04508527df
commit f5033efa6d
10 changed files with 78 additions and 52 deletions
@@ -31,7 +31,7 @@ add_library(ctf_plugin SHARED
set_target_properties(ctf_plugin PROPERTIES
CXX_VISIBILITY_PRESET hidden
LINK_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/../exportmap"
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}")
LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/lib/rocprofiler")
set(METADATA_STREAM_FILE_DIR "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/plugin/ctf")
target_compile_definitions(ctf_plugin PUBLIC AMD_INTERNAL_BUILD PRIVATE
HIP_PROF_HIP_API_STRING=1