Update easylogging++ to 9.96.7, turn on /WX for clang-msvc
Updating from easylogging++ 9.89 to 9.96.7 turns it from a header only library to one requiring a source file. It has been added to sources near the other third party includes in the QMAKE to signify that it isn't a first party file. Updating easylogging++ also means that clang-msvc can compile without any warnings, hence turning on warnings as errors for that compiler as well, to avoid any regressions.
This commit is contained in:
@@ -20,11 +20,10 @@ TEMPLATE = app
|
||||
#D9025: overriding '/W4' with '/W3'
|
||||
QMAKE_CFLAGS_WARN_ON -= -W3
|
||||
QMAKE_CXXFLAGS_WARN_ON -= -W3
|
||||
#C4127 was in a third party file with no way to turn off.
|
||||
QMAKE_CXXFLAGS += /W4 /wd4127
|
||||
|
||||
!*clang-msvc{
|
||||
QMAKE_CXXFLAGS += /WX
|
||||
}
|
||||
QMAKE_CXXFLAGS += /WX
|
||||
|
||||
}
|
||||
|
||||
*g++* {
|
||||
@@ -84,7 +83,8 @@ win32 {
|
||||
|
||||
INCLUDEPATH += third-party/openvr/headers \
|
||||
third-party/easylogging++
|
||||
|
||||
#easylogging++ used to be a header only lib. Now requires easylogging++.cc
|
||||
SOURCES += third-party/easylogging++/easylogging++.cc
|
||||
win32:LIBS += -L"$$PWD/third-party/openvr/lib/win64" -luser32 -lole32
|
||||
unix:LIBS += -L"$$PWD/third-party/openvr/lib/linux64"
|
||||
LIBS += -lopenvr_api
|
||||
|
||||
Reference in New Issue
Block a user