Encapsulating compiler specific options in a separate file makes it easier to reason about what is going to happen on a specific qmake call. clang-msvc and msvc are separate because they don't support exactly the same compiler switches.
4 lines
121 B
Plaintext
4 lines
121 B
Plaintext
#g++-7 is needed for C++17 features. travis does not supply this by default.
|
|
QMAKE_CXX = g++-7
|
|
QMAKE_CXXFLAGS += -Werror
|