9a0c84efa6
* Fix find_package(rocprofiler) in build tree * Move include/rocprofiler to include/rocprofiler-sdk * Update include/CMakeLists.txt - add_subdirectory(rocprofiler-sdk) * Move lib/rocprofiler to lib/rocprofiler-sdk * Move lib/rocprofiler-tool to lib/rocprofiler-sdk-tool * Update lib/CMakeLists.txt - add_subdirectory(rocprofiler-sdk) - add_subdirectory(rocprofiler-sdk-tool) * Update lib/rocprofiler-sdk/CMakeLists.txt * Rename rocprofiler-tool to rocprofiler-sdk-tool * Replace include rocprofiler/ with include rocprofiler-sdk/ * Replace include lib/rocprofiler/ with include lib/rocprofiler-sdk/ * Set VERSION to 0.0.0 and finish install to rocprofiler-sdk * More fixes for rocprofiler -> rocprofiler-sdk - fix issue with rocprofiler-sdk-config.cmake.in - fix counters xml install path * Fix documentation generation * Create rocprofiler_LIB_ROCPROFILER_SDK_DIR for build tree * cmake formatting (cmake-format) (#264) Co-authored-by: jrmadsen <jrmadsen@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
42 lines
834 B
CMake
42 lines
834 B
CMake
#
|
|
#
|
|
# Installation of public headers
|
|
#
|
|
#
|
|
configure_file(${CMAKE_CURRENT_LIST_DIR}/version.h.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.h @ONLY)
|
|
|
|
set(ROCPROFILER_HEADER_FILES
|
|
# core headers
|
|
rocprofiler.h
|
|
rocprofiler_plugin.h
|
|
# secondary headers
|
|
agent.h
|
|
agent_profile.h
|
|
buffer.h
|
|
buffer_tracing.h
|
|
callback_tracing.h
|
|
context.h
|
|
counters.h
|
|
defines.h
|
|
dispatch_profile.h
|
|
external_correlation.h
|
|
fwd.h
|
|
hip.h
|
|
hsa.h
|
|
intercept_table.h
|
|
internal_threading.h
|
|
marker.h
|
|
pc_sampling.h
|
|
profile_config.h
|
|
registration.h
|
|
spm.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.h)
|
|
|
|
install(FILES ${ROCPROFILER_HEADER_FILES}
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk)
|
|
|
|
add_subdirectory(hip)
|
|
add_subdirectory(hsa)
|
|
add_subdirectory(marker)
|