Files
rocm-systems/source/lib/CMakeLists.txt
T

28 lines
850 B
CMake
Raw Normal View History

2022-03-07 20:40:48 -06:00
# ----------------------------------------------------------------------------- #
2022-02-19 02:00:59 -06:00
#
2022-03-07 20:40:48 -06:00
# omnitrace: contains all instrumentation functionality
2022-02-19 02:00:59 -06:00
#
2022-03-07 20:40:48 -06:00
# omnitrace-dl: contains minimal symbols and dlopen's omnitrace
2022-02-19 02:00:59 -06:00
#
2022-03-07 20:40:48 -06:00
# omnitrace-user: contains symbols for user API
2022-02-19 02:00:59 -06:00
#
2022-03-07 20:40:48 -06:00
# ----------------------------------------------------------------------------- #
2022-02-23 06:59:32 -06:00
2022-04-21 21:36:07 -05:00
string(REPLACE ":" ";" _INSTALL_RPATH "${CMAKE_INSTALL_RPATH}")
if(_INSTALL_RPATH)
list(REMOVE_DUPLICATES _INSTALL_RPATH)
endif()
string(REPLACE ";" ":" _INSTALL_RPATH "${_INSTALL_RPATH}")
string(
REPLACE
"::"
":"
OMNITRACE_LIB_INSTALL_RPATH
"\$ORIGIN:\$ORIGIN/omnitrace:\$ORIGIN/timemory/libunwind:\$ORIGIN/dyninst-tpls/libs:${_INSTALL_RPATH}"
)
2022-03-07 20:40:48 -06:00
add_subdirectory(common)
add_subdirectory(omnitrace)
add_subdirectory(omnitrace-dl)
add_subdirectory(omnitrace-user)