Mentions légales du service

Skip to content
Snippets Groups Projects
Commit dcb76d76 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Merge branch 'werror' into 'master'

ci: add -Werror gcc flag

See merge request !27
parents bb02b055 181ed51a
No related branches found
No related tags found
1 merge request!27ci: add -Werror gcc flag
...@@ -7,7 +7,7 @@ if [[ "$SYSTEM" == "linux" ]]; then ...@@ -7,7 +7,7 @@ if [[ "$SYSTEM" == "linux" ]]; then
# on linux we perform a coverage analysis # on linux we perform a coverage analysis
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=$PWD/install \ cmake -B build -S . -DCMAKE_INSTALL_PREFIX=$PWD/install \
-DBUILD_SHARED_LIBS=ON -DCMAKE_VERBOSE_MAKEFILE=ON \ -DBUILD_SHARED_LIBS=ON -DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_C_FLAGS="-O0 -g -fPIC --coverage -Wall -fdiagnostics-show-option -fno-inline" \ -DCMAKE_C_FLAGS="-O0 -g -fPIC --coverage -Werror -Wall -fdiagnostics-show-option -fno-inline" \
-DCMAKE_EXE_LINKER_FLAGS="--coverage" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_EXE_LINKER_FLAGS="--coverage" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment