XPlor/app/app.pro

119 lines
3.6 KiB
Prolog
Raw Normal View History

2025-03-01 20:38:52 -05:00
QT += core widgets gui multimedia
RC_ICONS = app.ico
SUBDIRS += app
CONFIG += c++17
SOURCES += \
aboutdialog.cpp \
ddsviewer.cpp \
fastfileviewer.cpp \
imagewidget.cpp \
iwiviewer.cpp \
localstringviewer.cpp \
main.cpp \
mainwindow.cpp \
materialviewer.cpp \
preferenceeditor.cpp \
soundviewer.cpp \
stringtableviewer.cpp \
2025-06-04 22:11:12 -04:00
rumblegraphviewer.cpp \
rumblefileviewer.cpp \
2025-03-01 20:38:52 -05:00
techsetviewer.cpp \
xtreewidget.cpp \
xtreewidgetitem.cpp \
zonefileviewer.cpp
HEADERS += \
aboutdialog.h \
d3dbsp_structs.h \
ddsviewer.h \
fastfileviewer.h \
imagewidget.h \
iwiviewer.h \
localstringviewer.h \
mainwindow.h \
materialviewer.h \
preferenceeditor.h \
soundviewer.h \
stringtableviewer.h \
2025-06-04 22:11:12 -04:00
rumblegraphviewer.h \
rumblefileviewer.h \
2025-03-01 20:38:52 -05:00
techsetviewer.h \
xtreewidget.h \
xtreewidgetitem.h \
zonefileviewer.h
FORMS += \
aboutdialog.ui \
ddsviewer.ui \
fastfileviewer.ui \
imagewidget.ui \
iwiviewer.ui \
localstringviewer.ui \
mainwindow.ui \
materialviewer.ui \
modelviewer.ui \
preferenceeditor.ui \
soundviewer.ui \
stringtableviewer.ui \
2025-06-04 22:11:12 -04:00
rumblegraphviewer.ui \
rumblefileviewer.ui \
2025-03-01 20:38:52 -05:00
techsetviewer.ui \
zonefileviewer.ui
RESOURCES += ../data/data.qrc
LIBS += \
2025-04-04 20:34:24 -04:00
-L$$PWD/../third_party/devil_sdk/lib/ -lDevIL -lILU -lILUT \
2025-03-01 20:38:52 -05:00
-L$$PWD/../third_party/zlib/lib/ -lzlib \
2025-04-23 00:09:35 -04:00
-L$$PWD/../third_party/xbox_sdk/lib -lxcompress64 \
2025-03-01 20:38:52 -05:00
-L$$OUT_PWD/../libs/ -lcore \
-L$$OUT_PWD/../libs/ -lcompression \
2025-04-04 20:34:24 -04:00
-L$$OUT_PWD/../libs/ -lencryption \
2025-03-01 20:38:52 -05:00
-L$$OUT_PWD/../libs/ -lfastfile \
-L$$OUT_PWD/../libs/ -lddsfile \
2025-04-04 20:34:24 -04:00
-L$$OUT_PWD/../libs/ -lipakfile \
2025-03-01 20:38:52 -05:00
-L$$OUT_PWD/../libs/ -liwifile \
-L$$OUT_PWD/../libs/ -lzonefile
INCLUDEPATH += \
$$PWD/../third_party/devil_sdk/include/ \
$$PWD/../third_party/zlib/include \
2025-04-23 00:09:35 -04:00
$$PWD/../third_party/xbox_sdk/include \
2025-03-01 20:38:52 -05:00
$$PWD/../libs/core \
$$PWD/../libs/compression \
$$PWD/../libs/encryption \
$$PWD/../libs/fastfile \
$$PWD/../libs/ddsfile \
$$PWD/../libs/ipakfile \
$$PWD/../libs/iwifile \
$$PWD/../libs/zonefile
DEPENDPATH += \
$$PWD/../third_party/devil_sdk/include/ \
2025-04-04 20:34:24 -04:00
$$PWD/../third_party/zlib/include \
2025-04-23 00:09:35 -04:00
$$PWD/../third_party/xbox_sdk/include \
2025-03-01 20:38:52 -05:00
$$PWD/../libs/core \
$$PWD/../libs/compression \
$$PWD/../libs/encryption \
$$PWD/../libs/fastfile \
$$PWD/../libs/ddsfile \
$$PWD/../libs/ipakfile \
$$PWD/../libs/iwifile \
$$PWD/../libs/zonefile
2025-04-04 20:34:24 -04:00
# Copy DLLs to Debug folder
2025-04-04 20:38:22 -04:00
QMAKE_POST_LINK += xcopy /Y /E /I \"G:/Projects/Qt/XPlor/third_party/devil_sdk/lib\\*.dll\" \"$$OUT_PWD/debug/\" $$escape_expand(\\n\\t)
2025-04-23 00:09:35 -04:00
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)
2025-04-04 20:34:24 -04:00
# Copy DLLs to Release folder
2025-04-04 20:38:22 -04:00
QMAKE_POST_LINK += xcopy /Y /E /I \"G:/Projects/Qt/XPlor/third_party/devil_sdk/lib\\*.dll\" \"$$OUT_PWD/release/\" $$escape_expand(\\n\\t)
2025-04-23 00:09:35 -04:00
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)