File tree Expand file tree Collapse file tree 5 files changed +327
-125
lines changed Expand file tree Collapse file tree 5 files changed +327
-125
lines changed Original file line number Diff line number Diff line change @@ -192,5 +192,5 @@ script:
192
192
- mkdir build
193
193
- cd build
194
194
- cmake -DCMAKE_CXX_COMPILER=$COMPILER -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCXX_STD=$CXX_STD ..
195
- - make testall
195
+ - make testall VERBOSE=1
196
196
Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING
9
9
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel."
10
10
)
11
11
12
+ set (CMAKE_VERBOSE_MAKEFILE ON )
12
13
set (CXX_STD "c++11" CACHE STRING "Version of C++ standard in use" )
13
14
14
15
# This project is infrastructure. Warnings from common warning levels should
15
16
# be errors on all compilers, unless explicitly silenced.
16
17
if (NOT WIN32 )
17
- set (CMAKE_CXX_FLAGS "-Wall -Werror -std=${CXX_STD} " CACHE STRING "Flags used by the compiler during all build types." )
18
+ set (CMAKE_CXX_FLAGS "-Wall -Werror -g -ggdb - std=${CXX_STD} " CACHE STRING "Flags used by the compiler during all build types." )
18
19
endif ()
19
20
20
21
project (tinyformat )
@@ -24,7 +25,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
24
25
if (WIN32 )
25
26
# Treat warnings as errors. Would set this above, but need the default
26
27
# flags too, and `project()` behaves is differently on different systems.
27
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /WX" )
28
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3 /WX /Z7 /Od " )
28
29
endif ()
29
30
30
31
add_executable (tinyformat_test tinyformat_test.cpp )
Original file line number Diff line number Diff line change 3
3
# Should work with recent versions of both gcc and clang. (To compile with
4
4
# clang use "make CXX=clang++".)
5
5
6
- CXXFLAGS? =-Wall -Werror
6
+ CXXFLAGS? =-Wall -Werror -g -ggdb
7
7
CXX11FLAGS?=-std =c++11
8
8
9
9
test : tinyformat_test_cxx98 tinyformat_test_cxx11
You can’t perform that action at this time.
0 commit comments