f6241af5ee
* Update invoke.hpp
* Update OMNITRACE_FUNCTION
* Update library debug messages
* ptl verbosity
* Update timemory submodule
* mpi_gotcha calls omnitrace_finalize_hidden
* omnitrace_{push,pop}_region returns error code
* omnitrace-user updates
- doxygen documentation
- omnitrace_get_user_callbacks
- omnitrace_user_error_string
- omnitrace-user functions return error codes
* Update user-api example
* Tweak to workflows and tests
* Fix for OMNITRACE_FUNCTION
- conditional impl if __GNUC__ < 9
* focal-external-rocm workflow update
14 خطوط
479 B
CMake
14 خطوط
479 B
CMake
cmake_minimum_required(VERSION 3.15 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()
|