Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixMath
Commits
ef57e20b
Commit
ef57e20b
authored
Jan 25, 2021
by
Pierre Aubert
Browse files
Update CXX flags
parent
42441d5f
Pipeline
#101114
passed with stages
in 6 minutes and 34 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cmake/phoenix_base_project.cmake
cmake/phoenix_base_project.cmake
+2
-2
No files found.
cmake/phoenix_base_project.cmake
View file @
ef57e20b
...
...
@@ -32,9 +32,9 @@ function(phoenix_base_project programName programVersion programDescritpion prog
message
(
STATUS
"Build for tests COVERAGE"
)
set
(
CTEST_COVERAGE_COMMAND
"gcov"
)
set
(
SELF_TESTS_MODE yes
)
set
(
CMAKE_CXX_FLAGS
"--std=c++11 -Wall -Werror -g -O0 -fprofile-arcs -ftest-coverage"
PARENT_SCOPE
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
--std=c++11 -Wall -Werror -g -O0 -fprofile-arcs -ftest-coverage"
PARENT_SCOPE
)
else
()
set
(
CMAKE_CXX_FLAGS
"--std=c++11 -Wall -Werror -g -O2"
PARENT_SCOPE
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
--std=c++11 -Wall -Werror -g -O2"
PARENT_SCOPE
)
endif
()
add_definitions
(
-D__PROGRAM_VERSION__=
"
${
PROGRAM_VERSION
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment