2018-03-10 06:57:14 +00:00
|
|
|
QT += core widgets opengl
|
|
|
|
CONFIG += debug
|
2018-03-13 12:49:24 +00:00
|
|
|
RESOURCES += resources.qrc
|
2018-03-10 06:57:14 +00:00
|
|
|
|
2018-04-10 07:59:20 +00:00
|
|
|
HUMAN_VERSION = "0.0-alpha1"
|
|
|
|
REPOSITORY_URL = "https://github.com/huxingyi/dust3d"
|
|
|
|
ISSUES_URL = "https://github.com/huxingyi/dust3d/issues"
|
|
|
|
VERSION = 0.0.0.1
|
|
|
|
QMAKE_TARGET_COMPANY = Dust3D
|
|
|
|
QMAKE_TARGET_PRODUCT = Dust3D
|
|
|
|
QMAKE_TARGET_DESCRIPTION = "Aim to be a quick modeling tool for game development"
|
|
|
|
QMAKE_TARGET_COPYRIGHT = "Copyright (C) 2018 Dust3D Project. All Rights Reserved."
|
|
|
|
|
|
|
|
DEFINES += "APP_NAME=\"\\\"$$QMAKE_TARGET_PRODUCT\\\"\""
|
|
|
|
DEFINES += "APP_VER=\"\\\"$$VERSION\\\"\""
|
|
|
|
DEFINES += "APP_HUMAN_VER=\"\\\"$$HUMAN_VERSION\\\"\""
|
|
|
|
DEFINES += "APP_REPOSITORY_URL=\"\\\"$$REPOSITORY_URL\\\"\""
|
|
|
|
DEFINES += "APP_ISSUES_URL=\"\\\"$$ISSUES_URL\\\"\""
|
|
|
|
|
2018-04-07 08:44:39 +00:00
|
|
|
include(thirdparty/QtAwesome/QtAwesome/QtAwesome.pri)
|
2018-03-10 06:57:14 +00:00
|
|
|
|
2018-04-07 08:44:39 +00:00
|
|
|
INCLUDEPATH += src
|
2018-03-10 06:57:14 +00:00
|
|
|
|
2018-04-02 06:05:06 +00:00
|
|
|
SOURCES += src/modelshaderprogram.cpp
|
|
|
|
HEADERS += src/modelshaderprogram.h
|
|
|
|
|
|
|
|
SOURCES += src/modelmeshbinder.cpp
|
|
|
|
HEADERS += src/modelmeshbinder.h
|
|
|
|
|
2018-04-07 08:44:39 +00:00
|
|
|
SOURCES += src/modelofflinerender.cpp
|
|
|
|
HEADERS += src/modelofflinerender.h
|
|
|
|
|
2018-03-20 07:56:49 +00:00
|
|
|
SOURCES += src/modelwidget.cpp
|
|
|
|
HEADERS += src/modelwidget.h
|
2018-03-10 06:57:14 +00:00
|
|
|
|
2018-04-07 08:44:39 +00:00
|
|
|
SOURCES += src/skeletondocument.cpp
|
|
|
|
HEADERS += src/skeletondocument.h
|
|
|
|
|
|
|
|
SOURCES += src/skeletondocumentwindow.cpp
|
|
|
|
HEADERS += src/skeletondocumentwindow.h
|
2018-03-11 16:02:15 +00:00
|
|
|
|
2018-04-07 08:44:39 +00:00
|
|
|
SOURCES += src/skeletongraphicswidget.cpp
|
|
|
|
HEADERS += src/skeletongraphicswidget.h
|
2018-03-11 16:02:15 +00:00
|
|
|
|
2018-04-07 08:44:39 +00:00
|
|
|
SOURCES += src/skeletonpartlistwidget.cpp
|
|
|
|
HEADERS += src/skeletonpartlistwidget.h
|
|
|
|
|
2018-04-10 07:59:20 +00:00
|
|
|
SOURCES += src/aboutwidget.cpp
|
|
|
|
HEADERS += src/aboutwidget.h
|
|
|
|
|
2018-04-07 08:44:39 +00:00
|
|
|
SOURCES += src/meshgenerator.cpp
|
|
|
|
HEADERS += src/meshgenerator.h
|
|
|
|
|
|
|
|
SOURCES += src/util.cpp
|
|
|
|
HEADERS += src/util.h
|
2018-03-11 16:02:15 +00:00
|
|
|
|
2018-03-13 06:39:36 +00:00
|
|
|
SOURCES += src/turnaroundloader.cpp
|
|
|
|
HEADERS += src/turnaroundloader.h
|
|
|
|
|
2018-03-26 12:41:46 +00:00
|
|
|
SOURCES += src/skeletonsnapshot.cpp
|
|
|
|
HEADERS += src/skeletonsnapshot.h
|
|
|
|
|
|
|
|
SOURCES += src/skeletonxml.cpp
|
|
|
|
HEADERS += src/skeletonxml.h
|
|
|
|
|
2018-03-15 15:40:30 +00:00
|
|
|
SOURCES += src/ds3file.cpp
|
|
|
|
HEADERS += src/ds3file.h
|
2018-03-14 15:22:00 +00:00
|
|
|
|
2018-03-12 09:41:16 +00:00
|
|
|
SOURCES += src/theme.cpp
|
|
|
|
HEADERS += src/theme.h
|
|
|
|
|
2018-03-10 06:57:14 +00:00
|
|
|
SOURCES += src/mesh.cpp
|
|
|
|
HEADERS += src/mesh.h
|
|
|
|
|
2018-04-08 08:05:12 +00:00
|
|
|
SOURCES += src/meshutil.cpp
|
|
|
|
HEADERS += src/meshutil.h
|
2018-03-29 09:10:59 +00:00
|
|
|
|
2018-04-07 08:44:39 +00:00
|
|
|
SOURCES += src/logbrowser.cpp
|
|
|
|
HEADERS += src/logbrowser.h
|
|
|
|
|
|
|
|
SOURCES += src/logbrowserdialog.cpp
|
|
|
|
HEADERS += src/logbrowserdialog.h
|
|
|
|
|
2018-03-10 06:57:14 +00:00
|
|
|
SOURCES += src/main.cpp
|
|
|
|
|
|
|
|
INCLUDEPATH += ../meshlite/include
|
|
|
|
LIBS += -L../meshlite/target/debug -lmeshlite
|
|
|
|
|
2018-03-17 23:43:04 +00:00
|
|
|
INCLUDEPATH += /usr/local/opt/boost/include
|
|
|
|
|
|
|
|
INCLUDEPATH += /usr/local/opt/gmp/include
|
|
|
|
LIBS += -L/usr/local/opt/gmp/lib -lgmp
|
|
|
|
|
|
|
|
INCLUDEPATH += /usr/local/opt/mpfr/include
|
|
|
|
LIBS += -L/usr/local/opt/mpfr/lib -lmpfr
|
|
|
|
|
|
|
|
INCLUDEPATH += /usr/local/opt/cgal/include
|
|
|
|
LIBS += -L/usr/local/opt/cgal/lib -lCGAL
|
|
|
|
|
2018-03-10 06:57:14 +00:00
|
|
|
target.path = ./
|
|
|
|
INSTALLS += target
|