2021-01-04 22:07:27 +08:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2020-07-11T11:37:33
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
# For a release with binary compatibility, cubiomes should be compiled for the
|
|
|
|
# default achitecture.
|
2021-06-10 02:21:10 +08:00
|
|
|
|
|
|
|
CUPATH = $$PWD/cubiomes
|
2021-01-04 22:07:27 +08:00
|
|
|
QT += core widgets
|
2021-06-10 02:21:10 +08:00
|
|
|
LIBS += -lm $$CUPATH/libcubiomes.a
|
|
|
|
|
|
|
|
# comment out to use the profile compiler
|
|
|
|
#QMAKE_CC = clang
|
|
|
|
#QMAKE_CXX = clang++
|
2021-01-04 22:07:27 +08:00
|
|
|
|
2021-06-10 02:21:10 +08:00
|
|
|
QMAKE_CFLAGS = -fwrapv -DSTRUCT_CONFIG_OVERRIDE=1
|
|
|
|
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=gnu++11
|
2021-06-04 06:36:44 +08:00
|
|
|
QMAKE_CXXFLAGS_RELEASE *= -O3
|
|
|
|
|
2021-01-04 22:07:27 +08:00
|
|
|
win32: {
|
|
|
|
LIBS += -static -static-libgcc -static-libstdc++
|
|
|
|
}
|
|
|
|
|
2021-06-10 02:21:10 +08:00
|
|
|
# also compile cubiomes
|
2021-06-10 02:39:40 +08:00
|
|
|
QMAKE_PRE_LINK += $(MAKE) -C $$CUPATH -f $$CUPATH/makefile CFLAGS="-DSTRUCT_CONFIG_OVERRIDE=1" all
|
2021-06-10 02:21:10 +08:00
|
|
|
|
2021-01-04 22:07:27 +08:00
|
|
|
TARGET = cubiomes-viewer
|
|
|
|
|
|
|
|
CONFIG += static
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
2021-06-03 23:04:28 +08:00
|
|
|
src/aboutdialog.cpp \
|
2021-06-04 17:49:13 +08:00
|
|
|
src/collapsible.cpp \
|
2021-06-03 23:04:28 +08:00
|
|
|
src/configdialog.cpp \
|
|
|
|
src/formconditions.cpp \
|
|
|
|
src/formgen48.cpp \
|
|
|
|
src/formsearchcontrol.cpp \
|
|
|
|
src/gotodialog.cpp \
|
|
|
|
src/protobasedialog.cpp \
|
|
|
|
src/filterdialog.cpp \
|
|
|
|
src/quadlistdialog.cpp \
|
|
|
|
src/mapview.cpp \
|
|
|
|
src/quad.cpp \
|
|
|
|
src/search.cpp \
|
|
|
|
src/searchitem.cpp \
|
|
|
|
src/searchthread.cpp \
|
|
|
|
src/mainwindow.cpp \
|
|
|
|
src/main.cpp
|
2021-01-04 22:07:27 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
2021-06-10 02:21:10 +08:00
|
|
|
$$CUPATH/finders.h \
|
|
|
|
$$CUPATH/generator.h \
|
|
|
|
$$CUPATH/javarnd.h \
|
|
|
|
$$CUPATH/layers.h \
|
|
|
|
$$CUPATH/util.h \
|
2021-06-03 23:04:28 +08:00
|
|
|
src/aboutdialog.h \
|
2021-06-04 17:49:13 +08:00
|
|
|
src/collapsible.h \
|
2021-06-03 23:04:28 +08:00
|
|
|
src/configdialog.h \
|
|
|
|
src/formconditions.h \
|
|
|
|
src/formgen48.h \
|
|
|
|
src/formsearchcontrol.h \
|
|
|
|
src/gotodialog.h \
|
|
|
|
src/protobasedialog.h \
|
|
|
|
src/filterdialog.h \
|
|
|
|
src/quadlistdialog.h \
|
|
|
|
src/mapview.h \
|
|
|
|
src/quad.h \
|
|
|
|
src/cutil.h \
|
|
|
|
src/search.h \
|
|
|
|
src/searchitem.h \
|
|
|
|
src/searchthread.h \
|
|
|
|
src/seedtables.h \
|
|
|
|
src/mainwindow.h \
|
|
|
|
src/settings.h
|
2021-01-04 22:07:27 +08:00
|
|
|
|
|
|
|
FORMS += \
|
2021-06-03 23:04:28 +08:00
|
|
|
src/aboutdialog.ui \
|
|
|
|
src/configdialog.ui \
|
|
|
|
src/formconditions.ui \
|
|
|
|
src/formgen48.ui \
|
|
|
|
src/formsearchcontrol.ui \
|
|
|
|
src/gotodialog.ui \
|
|
|
|
src/protobasedialog.ui \
|
|
|
|
src/filterdialog.ui \
|
|
|
|
src/quadlistdialog.ui\
|
|
|
|
src/mainwindow.ui
|
2021-01-04 22:07:27 +08:00
|
|
|
|
|
|
|
RESOURCES += \
|
2021-07-01 05:22:28 +08:00
|
|
|
icons.qrc \
|
|
|
|
style.qrc
|
2021-01-04 22:07:27 +08:00
|
|
|
|
|
|
|
DISTFILES +=
|