Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Özgür Ozan Sen
ogs
Commits
8da24ed1
Commit
8da24ed1
authored
3 months ago
by
Lars Bilke
Browse files
Options
Downloads
Plain Diff
Merge branch 'SpeedupCodeCoverage' into 'master'
Speedup code coverage See merge request
ogs/ogs!5157
parents
85ed7b57
5ecd4bc9
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/cmake/Coverage.cmake
+1
-1
1 addition, 1 deletion
scripts/cmake/Coverage.cmake
with
1 addition
and
1 deletion
scripts/cmake/Coverage.cmake
+
1
−
1
View file @
8da24ed1
...
@@ -3,7 +3,7 @@ if(NOT (OGS_COVERAGE AND PROJECT_IS_TOP_LEVEL))
...
@@ -3,7 +3,7 @@ if(NOT (OGS_COVERAGE AND PROJECT_IS_TOP_LEVEL))
endif
()
endif
()
if
(
CMAKE_CXX_COMPILER_ID MATCHES
"GNU|Clang"
)
if
(
CMAKE_CXX_COMPILER_ID MATCHES
"GNU|Clang"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-g -Og --coverage"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-g -Og
-DEIGEN_NO_DEBUG
--coverage"
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
string
(
APPEND CMAKE_CXX_FLAGS_DEBUG
" -fprofile-abs-path"
)
string
(
APPEND CMAKE_CXX_FLAGS_DEBUG
" -fprofile-abs-path"
)
endif
()
endif
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment