CMake updates/fixes + parallel-overhead updates (#16)

- OMNITRACE_INSTALL_EXAMPLES option
- Fix lulesh standalone HIP compilation
- Fix transpose standalone HIP compilation
- Tweaks to parallel-overhead

[ROCm/rocprofiler-systems commit: a9ff15ff8c]
This commit is contained in:
Jonathan R. Madsen
2022-05-31 14:55:31 -05:00
committed by GitHub
parent d009fc24a6
commit 2699095190
12 changed files with 129 additions and 37 deletions
@@ -10,6 +10,9 @@ endif()
add_executable(user-api user-api.cpp)
target_link_libraries(user-api PRIVATE Threads::Threads omnitrace::omnitrace-user-library)
if(NOT CMAKE_PROJECT_NAME STREQUAL "omnitrace")
install(TARGETS user-api DESTINATION bin)
if(OMNITRACE_INSTALL_EXAMPLES)
install(
TARGETS user-api
DESTINATION bin
COMPONENT omnitrace-examples)
endif()