test?
This commit is contained in:
parent
59e1e0c46a
commit
6a5dc181b0
@ -8,6 +8,7 @@ matrix:
|
|||||||
compiler: g++
|
compiler: g++
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
|
- cmake --versison
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Debug ..
|
- cmake -DCMAKE_BUILD_TYPE=Debug ..
|
||||||
- make -j
|
- make -j
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -15,6 +16,7 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
|
- cmake --versison
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Debug ..
|
- cmake -DCMAKE_BUILD_TYPE=Debug ..
|
||||||
- make -j
|
- make -j
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -22,6 +24,7 @@ matrix:
|
|||||||
compiler: g++
|
compiler: g++
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
|
- cmake --versison
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
- make -j
|
- make -j
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -29,6 +32,7 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
script:
|
script:
|
||||||
- cd build
|
- cd build
|
||||||
|
- cmake --versison
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
- make -j
|
- make -j
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ set(TGT "projet_lzw")
|
|||||||
set(${TGT}_VERSION_MAJOR 0)
|
set(${TGT}_VERSION_MAJOR 0)
|
||||||
set(${TGT}_VERSION_MINOR 1)
|
set(${TGT}_VERSION_MINOR 1)
|
||||||
|
|
||||||
set(CXX_COVERAGE_COMPILE_FLAGS "-std=c++17 -pedantic -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -Wfloat-equal -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wsign-conversion -Wshadow -Weffc++ -Wredundant-decls -Wdouble-promotion -Winit-self -Wswitch-default -Wswitch-enum -Wundef -Winline -Wunused -Wnon-virtual-dtor")
|
set(CXX_COVERAGE_COMPILE_FLAGS "-pedantic -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -Wfloat-equal -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wsign-conversion -Wshadow -Weffc++ -Wredundant-decls -Wdouble-promotion -Winit-self -Wswitch-default -Wswitch-enum -Wundef -Winline -Wunused -Wnon-virtual-dtor")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CXX_COVERAGE_COMPILE_FLAGS} -DDebug -g -pg")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CXX_COVERAGE_COMPILE_FLAGS} -DDebug -g -pg")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "${CXX_COVERAGE_COMPILE_FLAGS} -O3")
|
set(CMAKE_CXX_FLAGS_RELEASE "${CXX_COVERAGE_COMPILE_FLAGS} -O3")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user