2026-01-11 12:11:38 -05:00
|
|
|
QT += core
|
|
|
|
|
QT -= gui
|
|
|
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
|
CONFIG += console c++17
|
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
|
2026-01-11 16:08:33 -05:00
|
|
|
SUBDIRS += cli
|
|
|
|
|
|
|
|
|
|
TARGET = cli
|
2026-01-11 12:11:38 -05:00
|
|
|
|
|
|
|
|
SOURCES += main.cpp
|
|
|
|
|
|
|
|
|
|
# Link against the DSL library
|
2026-01-11 12:39:18 -05:00
|
|
|
LIBS += -L$$OUT_PWD/../../libs -ldsl -lcompression -lcore -lencryption
|
2026-01-13 14:37:52 -05:00
|
|
|
|
|
|
|
|
# Windows-only: Xbox SDK
|
|
|
|
|
win32 {
|
|
|
|
|
LIBS += -L$$PWD/../../third_party/xbox_sdk/lib -lxcompress64
|
|
|
|
|
}
|
2026-01-11 12:11:38 -05:00
|
|
|
|
|
|
|
|
# Include paths
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
|
$$PWD/../../libs/dsl \
|
|
|
|
|
$$PWD/../../libs/compression \
|
|
|
|
|
$$PWD/../../libs/core
|
|
|
|
|
|
|
|
|
|
DEPENDPATH += \
|
|
|
|
|
$$PWD/../../libs/dsl \
|
|
|
|
|
$$PWD/../../libs/compression \
|
|
|
|
|
$$PWD/../../libs/core
|
|
|
|
|
|
2026-01-11 16:08:33 -05:00
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
|
FULL_OUT_DIR = $$OUT_PWD/debug
|
|
|
|
|
} CONFIG(release, debug|release) {
|
|
|
|
|
FULL_OUT_DIR = $$OUT_PWD/release
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-13 14:37:52 -05:00
|
|
|
# Windows-only: deploy DLLs
|
|
|
|
|
win32 {
|
|
|
|
|
dll_install.path = $$FULL_OUT_DIR
|
|
|
|
|
dll_install.files = $$PWD/../../third_party/xbox_sdk/lib/xcompress64.dll
|
|
|
|
|
INSTALLS += dll_install
|
|
|
|
|
}
|