2022-04-21 21:36:07 -05:00
|
|
|
# executable RPATH
|
2022-08-02 14:19:04 -05:00
|
|
|
|
2024-12-13 18:48:39 -05:00
|
|
|
set(ROCPROFSYS_EXE_INSTALL_RPATH
|
|
|
|
|
"\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}"
|
|
|
|
|
)
|
2022-04-21 21:36:07 -05:00
|
|
|
|
|
|
|
|
# executables
|
2024-10-15 11:20:40 -04:00
|
|
|
add_subdirectory(rocprof-sys-avail)
|
|
|
|
|
add_subdirectory(rocprof-sys-causal)
|
|
|
|
|
add_subdirectory(rocprof-sys-sample)
|
|
|
|
|
add_subdirectory(rocprof-sys-instrument)
|
|
|
|
|
add_subdirectory(rocprof-sys-run)
|
2022-03-07 20:40:48 -06:00
|
|
|
|
2024-10-15 11:20:40 -04:00
|
|
|
# tests
|
|
|
|
|
if(ROCPROFSYS_BUILD_TESTING OR "$ENV{ROCPROFSYS_CI}" MATCHES "[1-9]+|ON|on|y|yes")
|
2022-03-07 20:40:48 -06:00
|
|
|
add_subdirectory(tests)
|
|
|
|
|
endif()
|