- DevIL, bundled zlib, and xcompress64 only linked on Windows - macOS/Linux use system zlib (-lz) - DLL deployment only on Windows Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
45 lines
888 B
INI
45 lines
888 B
INI
QT += core
|
|
QT -= gui
|
|
|
|
TEMPLATE = app
|
|
CONFIG += console c++17
|
|
CONFIG -= app_bundle
|
|
|
|
SUBDIRS += cli
|
|
|
|
TARGET = cli
|
|
|
|
SOURCES += main.cpp
|
|
|
|
# Link against the DSL library
|
|
LIBS += -L$$OUT_PWD/../../libs -ldsl -lcompression -lcore -lencryption
|
|
|
|
# Windows-only: Xbox SDK
|
|
win32 {
|
|
LIBS += -L$$PWD/../../third_party/xbox_sdk/lib -lxcompress64
|
|
}
|
|
|
|
# Include paths
|
|
INCLUDEPATH += \
|
|
$$PWD/../../libs/dsl \
|
|
$$PWD/../../libs/compression \
|
|
$$PWD/../../libs/core
|
|
|
|
DEPENDPATH += \
|
|
$$PWD/../../libs/dsl \
|
|
$$PWD/../../libs/compression \
|
|
$$PWD/../../libs/core
|
|
|
|
CONFIG(debug, debug|release) {
|
|
FULL_OUT_DIR = $$OUT_PWD/debug
|
|
} CONFIG(release, debug|release) {
|
|
FULL_OUT_DIR = $$OUT_PWD/release
|
|
}
|
|
|
|
# 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
|
|
}
|