XPlor/tools/cli/cli.pro

45 lines
888 B
Prolog
Raw Normal View History

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
}