d009fc24a6
* Update examples to support standalone builds
* Tweak to ubuntu-focal-external workflow
- disable PAPI
* ubuntu focal external workflow update
- GCC 11
- Test static libgcc + static libstdcxx + strip
- ubuntu-toolchain-r/test
* Improve build-release.sh
- command line args for lto, strip, perfetto-tools,
static-libgcc, static-libstdcxx, hidden-visibility,
max-threads, parallel
* Update VERSION to 1.0.1
* Fixes to LTO build
* Updates to ubuntu-focal-external workflow
* build-release.sh update
- enable static libstdcxx by default
* disable python + static libstdcxx
* ubuntu-focal-external updates
* build-release.sh disable static libstdcxx by default
* cmake-format
[ROCm/rocprofiler-systems commit: 8b97c70df8]
16 строки
501 B
CMake
16 строки
501 B
CMake
cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
|
|
|
|
project(omnitrace-code-coverage LANGUAGES CXX)
|
|
|
|
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
|
|
string(REPLACE " " ";" _FLAGS "${CMAKE_CXX_FLAGS_DEBUG}")
|
|
|
|
find_package(Threads REQUIRED)
|
|
add_executable(code-coverage code-coverage.cpp)
|
|
target_link_libraries(code-coverage PRIVATE Threads::Threads)
|
|
target_compile_options(code-coverage PRIVATE ${_FLAGS})
|
|
|
|
if(NOT CMAKE_PROJECT_NAME STREQUAL "omnitrace")
|
|
install(TARGETS code-coverage DESTINATION bin)
|
|
endif()
|