Commit 320a65ee by Amnes1a

忽略无用的警告

parent 5f3adc7d
...@@ -69,11 +69,13 @@ CONFIG(debug, debug|release) { ...@@ -69,11 +69,13 @@ CONFIG(debug, debug|release) {
RESOURCES += \ RESOURCES += \
res/$${ORIGIN_TARGET}.qrc res/$${ORIGIN_TARGET}.qrc
win32 { win32 {
QMAKE_CXXFLAGS += /wd4100
RC_FILE += res/$${ORIGIN_TARGET}.rc RC_FILE += res/$${ORIGIN_TARGET}.rc
system($$PWD/../fmprc.bat $$PWD/version.h $$ORIGIN_TARGET) system($$PWD/../fmprc.bat $$PWD/version.h $$ORIGIN_TARGET)
LIBS += -lWinspool LIBS += -lWinspool
} }
else { else {
QMAKE_CXXFLAGS += -Wno-unused-parameter -Wno-unused-variable
system($$PWD/../fmprc.sh $$PWD/version.h $$ORIGIN_TARGET) system($$PWD/../fmprc.sh $$PWD/version.h $$ORIGIN_TARGET)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment