Compiling C++ on various different platforms with as many out of tree dependencies as we have is volatile at best. In order to prevent a third party warning from ruining the build for people who don't care about third party warnings, we remove warnings-as-errors by default. They are still enabled by default on CI.
13 lines
218 B
Plaintext
13 lines
218 B
Plaintext
include(common-msvc.pri)
|
|
|
|
warnings_as_errors {
|
|
# Warnings as errors
|
|
QMAKE_CXXFLAGS += /WX
|
|
}
|
|
|
|
# Enables Link Time Optimization
|
|
QMAKE_CXXFLAGS += /GL
|
|
|
|
# Force standards-conformance
|
|
QMAKE_CXXFLAGS += /permissive-
|