28ade7fbb9
* Update CI to test multiple python versions
* Ensure numpy is installed
* Handle lulesh with cmake < 3.16
* Fix typo
* Bump minimum CMake version to 3.16
- CMake 3.15 has issue with PTL object library
* Tweak CI test output
[ROCm/rocprofiler-systems commit: 22eaa780ec]
14 lines
479 B
CMake
14 lines
479 B
CMake
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
|
|
|
|
project(omnitrace-user-api LANGUAGES CXX)
|
|
|
|
set(CMAKE_BUILD_TYPE "Debug")
|
|
find_package(Threads REQUIRED)
|
|
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 PROJECT_NAME)
|
|
set_target_properties(user-api PROPERTIES RUNTIME_OUTPUT_DIRECTORY
|
|
${CMAKE_BINARY_DIR})
|
|
endif()
|