Initial commit
This commit is contained in:
25
profiles/gcc_coverage
Normal file
25
profiles/gcc_coverage
Normal file
@@ -0,0 +1,25 @@
|
||||
[settings]
|
||||
os=Linux
|
||||
arch=x86_64
|
||||
compiler=gcc
|
||||
compiler.version=13
|
||||
compiler.libcxx=libstdc++11
|
||||
compiler.cppstd=20
|
||||
compiler.cstd=17
|
||||
build_type=Release
|
||||
[conf]
|
||||
tools.cmake.cmaketoolchain:extra_variables={'CMAKE_CXX_COMPILER_LAUNCHER': 'ccache', 'CMAKE_C_COMPILER_LAUNCHER': 'ccache'}
|
||||
tools.cmake.cmaketoolchain:generator=Ninja
|
||||
tools.system.package_manager:mode=install
|
||||
tools.system.package_manager:sudo=True
|
||||
|
||||
tools.build:exelinkflags=["--coverage"]
|
||||
tools.build:sharedlinkflags=["--coverage"]
|
||||
|
||||
tools.build:cflags=["-fprofile-abs-path", "--coverage", "-fno-inline-functions"]
|
||||
tools.build:cxxflags=["-fprofile-abs-path", "--coverage", "-fno-inline-functions"]
|
||||
&:tools.build:cflags=["-fprofile-abs-path", "--coverage", "-fno-inline-functions", "-Wall", "-Wextra", "-Wpedantic", "-Werror", "-ffast-math"]
|
||||
&:tools.build:cxxflags=["-fprofile-abs-path", "--coverage", "-fno-inline-functions", "-Wall", "-Wextra", "-Wpedantic", "-Werror", "-fno-exceptions", "-fno-rtti", "-ffast-math"]
|
||||
|
||||
[tool_requires]
|
||||
!cmake/*: cmake/[>=4.2]
|
||||
Reference in New Issue
Block a user