mirror of
https://github.com/Sinbing/cubiomes-viewer.git
synced 2025-01-07 03:07:02 +08:00
9571e70499
1) fix the quad-structure search for large areas did not work correctly 2) changed make clean target to also clean up the cubiomes library
102 lines
2.5 KiB
Prolog
102 lines
2.5 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2020-07-11T11:37:33
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
# For a release with binary compatibility, cubiomes should be compiled for the
|
|
# default achitecture.
|
|
|
|
CUPATH = $$PWD/cubiomes
|
|
QT += core widgets
|
|
LIBS += -lm $$CUPATH/libcubiomes.a
|
|
|
|
# comment out to use the profile compiler
|
|
#QMAKE_CC = clang
|
|
#QMAKE_CXX = clang++
|
|
|
|
QMAKE_CFLAGS = -fwrapv -DSTRUCT_CONFIG_OVERRIDE=1
|
|
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=gnu++11
|
|
QMAKE_CXXFLAGS_RELEASE *= -O3
|
|
|
|
win32: {
|
|
LIBS += -static -static-libgcc -static-libstdc++
|
|
}
|
|
|
|
# also compile cubiomes
|
|
QMAKE_PRE_LINK += $(MAKE) -C $$CUPATH -f $$CUPATH/makefile CFLAGS="-DSTRUCT_CONFIG_OVERRIDE=1" all
|
|
QMAKE_CLEAN += $$CUPATH/*.o $$CUPATH/libcubiomes.a
|
|
|
|
TARGET = cubiomes-viewer
|
|
|
|
CONFIG += static
|
|
|
|
|
|
SOURCES += \
|
|
src/aboutdialog.cpp \
|
|
src/collapsible.cpp \
|
|
src/configdialog.cpp \
|
|
src/extgendialog.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/rangedialog.cpp \
|
|
src/search.cpp \
|
|
src/searchitem.cpp \
|
|
src/searchthread.cpp \
|
|
src/mainwindow.cpp \
|
|
src/main.cpp
|
|
|
|
HEADERS += \
|
|
$$CUPATH/finders.h \
|
|
$$CUPATH/generator.h \
|
|
$$CUPATH/layers.h \
|
|
$$CUPATH/util.h \
|
|
src/aboutdialog.h \
|
|
src/collapsible.h \
|
|
src/configdialog.h \
|
|
src/extgendialog.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/rangedialog.h \
|
|
src/search.h \
|
|
src/searchitem.h \
|
|
src/searchthread.h \
|
|
src/seedtables.h \
|
|
src/mainwindow.h \
|
|
src/settings.h
|
|
|
|
FORMS += \
|
|
src/aboutdialog.ui \
|
|
src/configdialog.ui \
|
|
src/extgendialog.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 \
|
|
src/rangedialog.ui
|
|
|
|
RESOURCES += \
|
|
icons.qrc \
|
|
style.qrc
|
|
|
|
DISTFILES +=
|