Disabled "unknown pragma" warning in MSVS2010.

print
Josef Rokos 9 years ago
parent 2f127e8902
commit d99267e488

@ -33,6 +33,10 @@ unix {
QMAKE_CXXFLAGS += -Wno-unknown-pragmas QMAKE_CXXFLAGS += -Wno-unknown-pragmas
} }
win32 {
QMAKE_CXXFLAGS += -wd4995 -wd4068
}
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore
else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore

@ -31,6 +31,10 @@ unix {
QMAKE_CXXFLAGS += -Wno-unknown-pragmas QMAKE_CXXFLAGS += -Wno-unknown-pragmas
} }
win32 {
QMAKE_CXXFLAGS += -wd4995 -wd4068
}
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore
else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore

@ -63,6 +63,10 @@ unix {
QMAKE_CXXFLAGS += -Wno-unknown-pragmas QMAKE_CXXFLAGS += -Wno-unknown-pragmas
} }
win32 {
QMAKE_CXXFLAGS += -wd4995 -wd4068
}
ODB_FILES = core/data/core-data.h ODB_FILES = core/data/core-data.h
H_DIR = $$PWD/data/*.h H_DIR = $$PWD/data/*.h

Loading…
Cancel
Save