67 lines
2.6 KiB
Prolog
67 lines
2.6 KiB
Prolog
QT += core widgets gui multimedia
|
|
|
|
RC_ICONS = app.ico
|
|
|
|
SUBDIRS += app
|
|
|
|
CONFIG += c++17
|
|
|
|
SOURCES += $$files($$PWD/*.cpp)
|
|
HEADERS += $$files($$PWD/*.h)
|
|
FORMS += $$files($$PWD/*.ui)
|
|
|
|
RESOURCES += ../data/data.qrc
|
|
|
|
LIBS += \
|
|
-L$$PWD/../third_party/devil_sdk/lib/ -lDevIL -lILU -lILUT \
|
|
-L$$PWD/../third_party/zlib/lib/ -lzlib \
|
|
-L$$PWD/../third_party/xbox_sdk/lib -lxcompress64 \
|
|
-L$$OUT_PWD/../libs/ -lcore \
|
|
-L$$OUT_PWD/../libs/ -lcompression \
|
|
-L$$OUT_PWD/../libs/ -lencryption \
|
|
-L$$OUT_PWD/../libs/ -lfastfile \
|
|
-L$$OUT_PWD/../libs/ -lddsfile \
|
|
-L$$OUT_PWD/../libs/ -lipakfile \
|
|
-L$$OUT_PWD/../libs/ -liwifile \
|
|
-L$$OUT_PWD/../libs/ -lzonefile
|
|
|
|
INCLUDEPATH += \
|
|
$$PWD/../third_party/devil_sdk/include/ \
|
|
$$PWD/../third_party/zlib/include \
|
|
$$PWD/../third_party/xbox_sdk/include \
|
|
$$PWD/../libs/core \
|
|
$$PWD/../libs/compression \
|
|
$$PWD/../libs/encryption \
|
|
$$PWD/../libs/fastfile \
|
|
$$PWD/../libs/ddsfile \
|
|
$$PWD/../libs/ipakfile \
|
|
$$PWD/../libs/iwifile \
|
|
$$PWD/../libs/assets \
|
|
$$PWD/../libs/zonefile
|
|
|
|
DEPENDPATH += \
|
|
$$PWD/../third_party/devil_sdk/include/ \
|
|
$$PWD/../third_party/zlib/include \
|
|
$$PWD/../third_party/xbox_sdk/include \
|
|
$$PWD/../libs/core \
|
|
$$PWD/../libs/compression \
|
|
$$PWD/../libs/encryption \
|
|
$$PWD/../libs/fastfile \
|
|
$$PWD/../libs/ddsfile \
|
|
$$PWD/../libs/ipakfile \
|
|
$$PWD/../libs/iwifile \
|
|
$$PWD/../libs/assets \
|
|
$$PWD/../libs/zonefile
|
|
|
|
# Copy DLLs to Debug folder
|
|
QMAKE_POST_LINK += xcopy /Y /E /I \"G:/Projects/Qt/XPlor/third_party/devil_sdk/lib\\*.dll\" \"$$OUT_PWD/debug/\" $$escape_expand(\\n\\t)
|
|
QMAKE_POST_LINK += xcopy /Y /E /I \"G:/Projects/Qt/XPlor/third_party/zlib/lib\\*.dll\" \"$$OUT_PWD/debug/\" $$escape_expand(\\n\\t)
|
|
QMAKE_POST_LINK += xcopy /Y /E /I \"G:/Projects/Qt/XPlor/third_party/xna/lib\\*.dll\" \"$$OUT_PWD/debug/\" $$escape_expand(\\n\\t)
|
|
QMAKE_POST_LINK += xcopy /Y /E /I \"$$PWD/../third_party/xbox_sdk/lib\\*.dll\" \"$$OUT_PWD/debug/\" $$escape_expand(\\n\\t)
|
|
|
|
# Copy DLLs to Release folder
|
|
QMAKE_POST_LINK += xcopy /Y /E /I \"G:/Projects/Qt/XPlor/third_party/devil_sdk/lib\\*.dll\" \"$$OUT_PWD/release/\" $$escape_expand(\\n\\t)
|
|
QMAKE_POST_LINK += xcopy /Y /E /I \"G:/Projects/Qt/XPlor/third_party/zlib/lib\\*.dll\" \"$$OUT_PWD/release/\" $$escape_expand(\\n\\t)
|
|
QMAKE_POST_LINK += xcopy /Y /E /I \"G:/Projects/Qt/XPlor/third_party/xna/lib\\*.dll\" \"$$OUT_PWD/release/\" $$escape_expand(\\n\\t)
|
|
QMAKE_POST_LINK += xcopy /Y /E /I \"$$PWD/../third_party/xbox_sdk/lib\\*.dll\" \"$$OUT_PWD/release/\" $$escape_expand(\\n\\t)
|