ab0e5d9b44
* omnitrace-exe -> omnitrace-instrument - Renamed omnitrace executable to omnitrace-instrument - Provided dummy omnitrace exe which forwards onto omnitrace-instrument - updated all docs to reflect the name change of the executable - however, it is possible some were missed * Update dyninst submodule - correctly handle BOOST_LINK_STATIC in DyninstBoost.cmake * Disable IPO for omnitrace-instrument
24 lines
794 B
CMake
24 lines
794 B
CMake
# ------------------------------------------------------------------------------#
|
|
#
|
|
# omnitrace-exe target (deprecated 'omnitrace' executable, now 'omnitrace-instrument')
|
|
#
|
|
# ------------------------------------------------------------------------------#
|
|
|
|
add_executable(omnitrace-exe ${CMAKE_CURRENT_LIST_DIR}/omnitrace.cpp)
|
|
|
|
target_link_libraries(omnitrace-exe PRIVATE omnitrace::omnitrace-threading)
|
|
|
|
set_target_properties(
|
|
omnitrace-exe
|
|
PROPERTIES OUTPUT_NAME omnitrace
|
|
BUILD_RPATH "\$ORIGIN:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}"
|
|
INSTALL_RPATH "${OMNITRACE_EXE_INSTALL_RPATH}"
|
|
INSTALL_RPATH_USE_LINK_PATH ON)
|
|
|
|
omnitrace_strip_target(omnitrace-exe)
|
|
|
|
install(
|
|
TARGETS omnitrace-exe
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
OPTIONAL)
|