8fcf3a50b0
* Replace `cmake-format` with `gersemi`
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
* Remove .cmake-format.yaml
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
* Update workflow to use gersemi
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
* Update CONTRIBUTING.md
* Update helper scripts
* Don't include `*/external/*` in workflows
---------
Signed-off-by: David Galiffi <David.Galiffi@amd.com>
[ROCm/rocprofiler-systems commit: 122623a929]
27 linhas
957 B
CMake
27 linhas
957 B
CMake
# ------------------------------------------------------------------------------#
|
|
#
|
|
# TODO: [DFG] Remove this file after 'rocprofsys' rebranding is complete
|
|
# rocprofiler-systems-exe target (deprecated 'omnitrace' executable, now 'rocprofiler-systems-instrument')
|
|
#
|
|
# ------------------------------------------------------------------------------#
|
|
|
|
add_executable(rocprofiler-systems-exe ${CMAKE_CURRENT_LIST_DIR}/rocprof-sys.cpp)
|
|
|
|
target_link_libraries(
|
|
rocprofiler-systems-exe
|
|
PRIVATE rocprofiler-systems::rocprofiler-systems-threading
|
|
)
|
|
|
|
set_target_properties(
|
|
rocprofiler-systems-exe
|
|
PROPERTIES
|
|
OUTPUT_NAME rocprof-sys
|
|
BUILD_RPATH "\$ORIGIN:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}"
|
|
INSTALL_RPATH "${ROCPROFSYS_EXE_INSTALL_RPATH}"
|
|
INSTALL_RPATH_USE_LINK_PATH ON
|
|
)
|
|
|
|
rocprofiler_systems_strip_target(rocprofiler-systems-exe)
|
|
|
|
install(TARGETS rocprofiler-systems-exe DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
|