Skip to content

Commit

Permalink
No explicit g++-5
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Aug 2, 2019
1 parent 5066463 commit a72d4b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
8 changes: 3 additions & 5 deletions travis_qmake_gcc_cpp11_boost_test.pro
Expand Up @@ -6,8 +6,6 @@ CONFIG(release, debug|release) {
DEFINES += NDEBUG
}

QMAKE_CXX = g++-5
QMAKE_LINK = g++-5
QMAKE_CC = gcc-5
QMAKE_CXXFLAGS += -Wall -Wextra -Weffc++ -Werror -std=c++11

# C++11
CONFIG += c++11
QMAKE_CXXFLAGS += -std=c++11
7 changes: 2 additions & 5 deletions travis_qmake_gcc_cpp11_boost_test_test.pro
Expand Up @@ -11,11 +11,8 @@ SOURCES += my_functions.cpp
SOURCES += main_test.cpp my_functions_test.cpp

# C++11
unix {
QMAKE_CXX = g++-5
QMAKE_LINK = g++-5
QMAKE_CC = gcc-5
}
CONFIG += c++11
QMAKE_CXXFLAGS += -std=c++11

# Boost.Test does not go well with -Weffc++
QMAKE_CXXFLAGS += -Wall -Wextra -Werror -std=c++11
Expand Down

0 comments on commit a72d4b9

Please sign in to comment.