19 lines
566 B
CMake
19 lines
566 B
CMake
|
|
#
|
||
|
|
# Integration test application libraries
|
||
|
|
#
|
||
|
|
cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR)
|
||
|
|
|
||
|
|
project(rocprofiler-tests-lib LANGUAGES C CXX)
|
||
|
|
|
||
|
|
set(CMAKE_BUILD_RPATH "\$ORIGIN:\$ORIGIN/../lib")
|
||
|
|
|
||
|
|
# libraries used by integration test apps which DO NOT link to rocprofiler-sdk-roctx
|
||
|
|
add_subdirectory(vector-operations)
|
||
|
|
|
||
|
|
set(CMAKE_BUILD_RPATH
|
||
|
|
"\$ORIGIN:\$ORIGIN/../lib:$<TARGET_FILE_DIR:rocprofiler-sdk-roctx::rocprofiler-sdk-roctx-shared-library>"
|
||
|
|
)
|
||
|
|
|
||
|
|
# libraries used by integration test apps which DO link to rocprofiler-sdk-roctx
|
||
|
|
add_subdirectory(transpose)
|