QT += core widgets opengl network CONFIG += release DEFINES += NDEBUG DEFINES += QT_MESSAGELOGCONTEXT RESOURCES += resources.qrc LANGUAGES = zh_CN OBJECTS_DIR=obj MOC_DIR=moc ############## Generate .qm from .ts ####################### # parameters: var, prepend, append defineReplace(prependAll) { for(a,$$1):result += $$2$${a}$$3 return($$result) } TRANSLATIONS = $$prependAll(LANGUAGES, $$PWD/languages/dust3d_, .ts) TRANSLATIONS_FILES = qtPrepareTool(LRELEASE, lrelease) for(tsfile, TRANSLATIONS) { qmfile = $$shadowed($$tsfile) qmfile ~= s,.ts$,.qm, qmdir = $$dirname(qmfile) !exists($$qmdir) { mkpath($$qmdir)|error("Aborting.") } command = $$LRELEASE -removeidentical $$tsfile -qm $$qmfile system($$command)|error("Failed to run: $$command") TRANSLATIONS_FILES += $$qmfile } ######################################################## ############## Generate .ts file ####################### macx { wd = $$replace(PWD, /, $$QMAKE_DIR_SEP) # Update the .ts file from source qtPrepareTool(LUPDATE, lupdate) LUPDATE += src/*.cpp src/*.h -locations none for(lang, LANGUAGES) { command = $$LUPDATE -ts languages/dust3d_$${lang}.ts system($$command)|error("Failed to run: $$command") } } ########################################################## win32 { CONFIG += force_debug_info } win32 { RC_FILE = dust3d.rc } macx { ICON = dust3d.icns RESOURCE_FILES.files = $$ICON RESOURCE_FILES.path = Contents/Resources QMAKE_BUNDLE_DATA += RESOURCE_FILES } isEmpty(HUMAN_VERSION) { HUMAN_VERSION = "1.0.0-beta.30" } isEmpty(VERSION) { VERSION = 1.0.0.30 } HOMEPAGE_URL = "https://dust3d.org/" REPOSITORY_URL = "https://github.com/huxingyi/dust3d" ISSUES_URL = "https://github.com/huxingyi/dust3d/issues" REFERENCE_GUIDE_URL = "http://docs.dust3d.org" UPDATES_CHECKER_URL = "https://dust3d.org/dust3d-updateinfo.xml" PLATFORM = "Unknown" macx { PLATFORM = "MacOS" } win32 { PLATFORM = "Win32" } unix:!macx { PLATFORM = "Linux" } QMAKE_TARGET_COMPANY = Dust3D QMAKE_TARGET_PRODUCT = Dust3D QMAKE_TARGET_DESCRIPTION = "Dust3D is a cross-platform open-source 3D modeling software" QMAKE_TARGET_COPYRIGHT = "Copyright (C) 2018-2019 Dust3D Project. All Rights Reserved." DEFINES += "PROJECT_DEFINED_APP_COMPANY=\"\\\"$$QMAKE_TARGET_COMPANY\\\"\"" DEFINES += "PROJECT_DEFINED_APP_NAME=\"\\\"$$QMAKE_TARGET_PRODUCT\\\"\"" DEFINES += "PROJECT_DEFINED_APP_VER=\"\\\"$$VERSION\\\"\"" DEFINES += "PROJECT_DEFINED_APP_HUMAN_VER=\"\\\"$$HUMAN_VERSION\\\"\"" DEFINES += "PROJECT_DEFINED_APP_HOMEPAGE_URL=\"\\\"$$HOMEPAGE_URL\\\"\"" DEFINES += "PROJECT_DEFINED_APP_REPOSITORY_URL=\"\\\"$$REPOSITORY_URL\\\"\"" DEFINES += "PROJECT_DEFINED_APP_ISSUES_URL=\"\\\"$$ISSUES_URL\\\"\"" DEFINES += "PROJECT_DEFINED_APP_REFERENCE_GUIDE_URL=\"\\\"$$REFERENCE_GUIDE_URL\\\"\"" DEFINES += "PROJECT_DEFINED_APP_UPDATES_CHECKER_URL=\"\\\"$$UPDATES_CHECKER_URL\\\"\"" DEFINES += "PROJECT_DEFINED_APP_PLATFORM=\"\\\"$$PLATFORM\\\"\"" macx { QMAKE_CXXFLAGS_RELEASE -= -O QMAKE_CXXFLAGS_RELEASE -= -O1 QMAKE_CXXFLAGS_RELEASE -= -O2 QMAKE_CXXFLAGS_RELEASE += -O3 QMAKE_CXXFLAGS += -std=c++11 } unix:!macx { QMAKE_CXXFLAGS_RELEASE -= -O QMAKE_CXXFLAGS_RELEASE -= -O1 QMAKE_CXXFLAGS_RELEASE -= -O2 QMAKE_CXXFLAGS_RELEASE += -O3 QMAKE_CXXFLAGS += -std=c++11 } win32 { QMAKE_CXXFLAGS += /O2 QMAKE_CXXFLAGS += /bigobj } include(thirdparty/QtAwesome/QtAwesome/QtAwesome.pri) INCLUDEPATH += src SOURCES += src/modelshaderprogram.cpp HEADERS += src/modelshaderprogram.h SOURCES += src/modelmeshbinder.cpp HEADERS += src/modelmeshbinder.h SOURCES += src/modelwidget.cpp HEADERS += src/modelwidget.h SOURCES += src/document.cpp HEADERS += src/document.h SOURCES += src/documentwindow.cpp HEADERS += src/documentwindow.h SOURCES += src/skeletongraphicswidget.cpp HEADERS += src/skeletongraphicswidget.h SOURCES += src/parttreewidget.cpp HEADERS += src/parttreewidget.h SOURCES += src/partwidget.cpp HEADERS += src/partwidget.h SOURCES += src/aboutwidget.cpp HEADERS += src/aboutwidget.h SOURCES += src/meshgenerator.cpp HEADERS += src/meshgenerator.h SOURCES += src/util.cpp HEADERS += src/util.h SOURCES += src/turnaroundloader.cpp HEADERS += src/turnaroundloader.h SOURCES += src/snapshot.cpp HEADERS += src/snapshot.h SOURCES += src/snapshotxml.cpp HEADERS += src/snapshotxml.h SOURCES += src/ds3file.cpp HEADERS += src/ds3file.h SOURCES += src/glbfile.cpp HEADERS += src/glbfile.h SOURCES += src/theme.cpp HEADERS += src/theme.h SOURCES += src/meshloader.cpp HEADERS += src/meshloader.h SOURCES += src/texturegenerator.cpp HEADERS += src/texturegenerator.h SOURCES += src/outcome.cpp HEADERS += src/outcome.h SOURCES += src/meshresultpostprocessor.cpp HEADERS += src/meshresultpostprocessor.h SOURCES += src/logbrowser.cpp HEADERS += src/logbrowser.h SOURCES += src/logbrowserdialog.cpp HEADERS += src/logbrowserdialog.h SOURCES += src/floatnumberwidget.cpp HEADERS += src/floatnumberwidget.h SOURCES += src/exportpreviewwidget.cpp HEADERS += src/exportpreviewwidget.h SOURCES += src/ccdikresolver.cpp HEADERS += src/ccdikresolver.h SOURCES += src/skeletonikmover.cpp HEADERS += src/skeletonikmover.h SOURCES += src/spinnableawesomebutton.cpp HEADERS += src/spinnableawesomebutton.h SOURCES += src/infolabel.cpp HEADERS += src/infolabel.h SOURCES += src/graphicscontainerwidget.cpp HEADERS += src/graphicscontainerwidget.h SOURCES += src/rigwidget.cpp HEADERS += src/rigwidget.h SOURCES += src/markiconcreator.cpp HEADERS += src/markiconcreator.h SOURCES += src/bonemark.cpp HEADERS += src/bonemark.h SOURCES += src/skeletonside.cpp HEADERS += src/skeletonside.h SOURCES += src/meshsplitter.cpp HEADERS += src/meshsplitter.h SOURCES += src/rigger.cpp HEADERS += src/rigger.h SOURCES += src/rigtype.cpp HEADERS += src/rigtype.h SOURCES += src/riggenerator.cpp HEADERS += src/riggenerator.h SOURCES += src/skinnedmeshcreator.cpp HEADERS += src/skinnedmeshcreator.h SOURCES += src/jointnodetree.cpp HEADERS += src/jointnodetree.h SOURCES += src/poser.cpp HEADERS += src/poser.h SOURCES += src/posemeshcreator.cpp HEADERS += src/posemeshcreator.h SOURCES += src/posepreviewmanager.cpp HEADERS += src/posepreviewmanager.h SOURCES += src/poseeditwidget.cpp HEADERS += src/poseeditwidget.h SOURCES += src/poselistwidget.cpp HEADERS += src/poselistwidget.h SOURCES += src/posemanagewidget.cpp HEADERS += src/posemanagewidget.h SOURCES += src/posepreviewsgenerator.cpp HEADERS += src/posepreviewsgenerator.h SOURCES += src/posewidget.cpp HEADERS += src/posewidget.h SOURCES += src/preferenceswidget.cpp HEADERS += src/preferenceswidget.h SOURCES += src/motioneditwidget.cpp HEADERS += src/motioneditwidget.h SOURCES += src/motionmanagewidget.cpp HEADERS += src/motionmanagewidget.h SOURCES += src/motionlistwidget.cpp HEADERS += src/motionlistwidget.h SOURCES += src/motionwidget.cpp HEADERS += src/motionwidget.h SOURCES += src/motionsgenerator.cpp HEADERS += src/motionsgenerator.h SOURCES += src/animationclipplayer.cpp HEADERS += src/animationclipplayer.h SOURCES += src/texturetype.cpp HEADERS += src/texturetype.h SOURCES += src/imageforever.cpp HEADERS += src/imageforever.h SOURCES += src/materialeditwidget.cpp HEADERS += src/materialeditwidget.h SOURCES += src/materiallistwidget.cpp HEADERS += src/materiallistwidget.h SOURCES += src/materialmanagewidget.cpp HEADERS += src/materialmanagewidget.h SOURCES += src/materialpreviewsgenerator.cpp HEADERS += src/materialpreviewsgenerator.h SOURCES += src/materialwidget.cpp HEADERS += src/materialwidget.h SOURCES += src/material.cpp HEADERS += src/material.h SOURCES += src/fbxfile.cpp HEADERS += src/fbxfile.h SOURCES += src/motiontimelinewidget.cpp HEADERS += src/motiontimelinewidget.h SOURCES += src/interpolationtype.cpp HEADERS += src/interpolationtype.h SOURCES += src/motionclipwidget.cpp HEADERS += src/motionclipwidget.h SOURCES += src/tabwidget.cpp HEADERS += src/tabwidget.h SOURCES += src/flowlayout.cpp HEADERS += src/flowlayout.h SOURCES += src/shortcuts.cpp HEADERS += src/shortcuts.h SOURCES += src/trianglesourcenoderesolve.cpp HEADERS += src/trianglesourcenoderesolve.h SOURCES += src/uvunwrap.cpp HEADERS += src/uvunwrap.h SOURCES += src/triangletangentresolve.cpp HEADERS += src/triangletangentresolve.h SOURCES += src/animalrigger.cpp HEADERS += src/animalrigger.h SOURCES += src/animalposer.cpp HEADERS += src/animalposer.h SOURCES += src/riggerconstruct.cpp HEADERS += src/riggerconstruct.h SOURCES += src/poserconstruct.cpp HEADERS += src/poserconstruct.h SOURCES += src/skeletondocument.cpp HEADERS += src/skeletondocument.h SOURCES += src/posedocument.cpp HEADERS += src/posedocument.h SOURCES += src/combinemode.cpp HEADERS += src/combinemode.h SOURCES += src/polycount.cpp HEADERS += src/polycount.h SOURCES += src/cutdocument.cpp HEADERS += src/cutdocument.h SOURCES += src/cutface.cpp HEADERS += src/cutface.h SOURCES += src/parttarget.cpp HEADERS += src/parttarget.h SOURCES += src/partbase.cpp HEADERS += src/partbase.h SOURCES += src/cutfacewidget.cpp HEADERS += src/cutfacewidget.h SOURCES += src/cutfacelistwidget.cpp HEADERS += src/cutfacelistwidget.h SOURCES += src/preferences.cpp HEADERS += src/preferences.h HEADERS += src/shadervertex.h SOURCES += src/scripteditwidget.cpp HEADERS += src/scripteditwidget.h SOURCES += src/scriptvariableswidget.cpp HEADERS += src/scriptvariableswidget.h SOURCES += src/scriptwidget.cpp HEADERS += src/scriptwidget.h SOURCES += src/scriptrunner.cpp HEADERS += src/scriptrunner.h SOURCES += src/variablesxml.cpp HEADERS += src/variablesxml.h SOURCES += src/updateschecker.cpp HEADERS += src/updateschecker.h SOURCES += src/updatescheckwidget.cpp HEADERS += src/updatescheckwidget.h SOURCES += src/intnumberwidget.cpp HEADERS += src/intnumberwidget.h SOURCES += src/imagepreviewwidget.cpp HEADERS += src/imagepreviewwidget.h SOURCES += src/mousepicker.cpp HEADERS += src/mousepicker.h SOURCES += src/paintmode.cpp HEADERS += src/paintmode.h SOURCES += src/ragdoll.cpp HEADERS += src/ragdoll.h SOURCES += src/proceduralanimation.cpp HEADERS += src/proceduralanimation.h SOURCES += src/boundingboxmesh.cpp HEADERS += src/boundingboxmesh.h SOURCES += src/triangleislandsresolve.cpp HEADERS += src/triangleislandsresolve.h SOURCES += src/triangleislandslink.cpp HEADERS += src/triangleislandslink.h SOURCES += src/gridmeshbuilder.cpp HEADERS += src/gridmeshbuilder.h SOURCES += src/regionfiller.cpp HEADERS += src/regionfiller.h SOURCES += src/cyclefinder.cpp HEADERS += src/cyclefinder.h SOURCES += src/shortestpath.cpp HEADERS += src/shortestpath.h SOURCES += src/meshwrapper.cpp HEADERS += src/meshwrapper.h SOURCES += src/meshstitcher.cpp HEADERS += src/meshstitcher.h SOURCES += src/strokemeshbuilder.cpp HEADERS += src/strokemeshbuilder.h SOURCES += src/meshcombiner.cpp HEADERS += src/meshcombiner.h SOURCES += src/positionkey.cpp HEADERS += src/positionkey.h SOURCES += src/strokemodifier.cpp HEADERS += src/strokemodifier.h SOURCES += src/boxmesh.cpp HEADERS += src/boxmesh.h SOURCES += src/meshrecombiner.cpp HEADERS += src/meshrecombiner.h SOURCES += src/triangulatefaces.cpp HEADERS += src/triangulatefaces.h SOURCES += src/booleanmesh.cpp HEADERS += src/booleanmesh.h SOURCES += src/imageskeletonextractor.cpp HEADERS += src/imageskeletonextractor.h SOURCES += src/contourtopartconverter.cpp HEADERS += src/contourtopartconverter.h SOURCES += src/remesher.cpp HEADERS += src/remesher.h SOURCES += src/clothsimulator.cpp HEADERS += src/clothsimulator.h SOURCES += src/componentlayer.cpp HEADERS += src/componentlayer.h SOURCES += src/isotropicremesh.cpp HEADERS += src/isotropicremesh.h SOURCES += src/clothforce.cpp HEADERS += src/clothforce.h SOURCES += src/projectfacestonodes.cpp HEADERS += src/projectfacestonodes.h SOURCES += src/simulateclothmeshes.cpp HEADERS += src/simulateclothmeshes.h SOURCES += src/main.cpp HEADERS += src/version.h INCLUDEPATH += thirdparty/FastMassSpring/ClothApp SOURCES += thirdparty/FastMassSpring/ClothApp/MassSpringSolver.cpp HEADERS += thirdparty/FastMassSpring/ClothApp/MassSpringSolver.h INCLUDEPATH += thirdparty/instant-meshes INCLUDEPATH += thirdparty/instant-meshes/instant-meshes-dust3d/src INCLUDEPATH += thirdparty/instant-meshes/instant-meshes-dust3d/ext/tbb/include INCLUDEPATH += thirdparty/instant-meshes/instant-meshes-dust3d/ext/dset INCLUDEPATH += thirdparty/instant-meshes/instant-meshes-dust3d/ext/pss INCLUDEPATH += thirdparty/instant-meshes/instant-meshes-dust3d/ext/pcg32 INCLUDEPATH += thirdparty/instant-meshes/instant-meshes-dust3d/ext/rply INCLUDEPATH += thirdparty/instant-meshes/instant-meshes-dust3d/ext/half unix { SOURCES += thirdparty/instant-meshes/instant-meshes-api.cpp LIBS += -Lthirdparty/instant-meshes/build -linstant-meshes LIBS += -Lthirdparty/instant-meshes/build/ext_build/tbb -ltbb_static unix:!macx { LIBS += -ldl } } win32 { DEFINES += _USE_MATH_DEFINES LIBS += -Lthirdparty/instant-meshes/build/RelWithDebInfo -linstant-meshes LIBS += -Lthirdparty/instant-meshes/build/ext_build/tbb/RelWithDebInfo -ltbb } INCLUDEPATH += thirdparty/bullet3/src SOURCES += thirdparty/bullet3/src/LinearMath/btAlignedAllocator.cpp HEADERS += thirdparty/bullet3/src/LinearMath/btAlignedAllocator.h SOURCES += thirdparty/bullet3/src/BulletDynamics/Dynamics/btRigidBody.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/Dynamics/btRigidBody.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCollisionObject.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCollisionObject.h SOURCES += thirdparty/bullet3/src/LinearMath/btVector3.cpp HEADERS += thirdparty/bullet3/src/LinearMath/btVector3.h HEADERS += thirdparty/bullet3/src/LinearMath/btScalar.h SOURCES += thirdparty/bullet3/src/LinearMath/btSerializer.cpp HEADERS += thirdparty/bullet3/src/LinearMath/btSerializer.h SOURCES += thirdparty/bullet3/src/LinearMath/btQuickprof.cpp HEADERS += thirdparty/bullet3/src/LinearMath/btQuickprof.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btCollisionShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btCollisionShape.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btCapsuleShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btCapsuleShape.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btConvexShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btConvexShape.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btConvexInternalShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btConvexInternalShape.h SOURCES += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btHingeConstraint.h SOURCES += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.h SOURCES += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btTypedConstraint.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h SOURCES += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btDbvtBroadphase.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btDbvtBroadphase.h SOURCES += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h SOURCES += thirdparty/bullet3/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCollisionWorld.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCollisionWorld.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btConvexCast.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btConvexCast.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btManifoldResult.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btManifoldResult.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btTriangleCallback.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btTriangleCallback.h SOURCES += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btPersistentManifold.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btPersistentManifold.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCollisionDispatcher.h SOURCES += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btDispatcher.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btDispatcher.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btSimulationIslandManager.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btSimulationIslandManager.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btUnionFind.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btUnionFind.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btOptimizedBvh.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btOptimizedBvh.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btTriangleMeshShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btTriangleMeshShape.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btConcaveShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btConcaveShape.h SOURCES += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btQuantizedBvh.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btConvexPolyhedron.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btConvexPolyhedron.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btOverlappingPairCache.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btBoxBoxDetector.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btBoxBoxDetector.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btPolyhedralConvexShape.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCompoundCompoundCollisionAlgorithm.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btCompoundCompoundCollisionAlgorithm.h SOURCES += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btDbvt.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/BroadphaseCollision/btDbvt.h SOURCES += thirdparty/bullet3/src/LinearMath/btGeometryUtil.cpp HEADERS += thirdparty/bullet3/src/LinearMath/btGeometryUtil.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btSdfCollisionShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btSdfCollisionShape.h SOURCES += thirdparty/bullet3/src/LinearMath/btConvexHullComputer.cpp HEADERS += thirdparty/bullet3/src/LinearMath/btConvexHullComputer.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/SphereTriangleDetector.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btHashedSimplePairCache.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionDispatch/btHashedSimplePairCache.h SOURCES += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h SOURCES += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h SOURCES += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btFixedConstraint.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btFixedConstraint.h SOURCES += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.cpp HEADERS += thirdparty/bullet3/src/BulletDynamics/ConstraintSolver/btGeneric6DofSpring2Constraint.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btMiniSDF.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btMiniSDF.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btSphereShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btSphereShape.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h SOURCES += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btGjkEpa2.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/NarrowPhaseCollision/btGjkEpa2.h SOURCES += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btBoxShape.cpp HEADERS += thirdparty/bullet3/src/BulletCollision/CollisionShapes/btBoxShape.h INCLUDEPATH += thirdparty/quickjs/quickjs-2019-07-09-dust3d DEFINES += "CONFIG_VERSION=\"\\\"2019-07-09\\\"\"" SOURCES += thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.c HEADERS += thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.h SOURCES += thirdparty/quickjs/quickjs-2019-07-09-dust3d/cutils.c HEADERS += thirdparty/quickjs/quickjs-2019-07-09-dust3d/cutils.h SOURCES += thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode.c HEADERS += thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode.h SOURCES += thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp.c HEADERS += thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp.h INCLUDEPATH += thirdparty/crc64 SOURCES += thirdparty/crc64/crc64.c HEADERS += thirdparty/crc64/crc64.h INCLUDEPATH += thirdparty/miniz SOURCES += thirdparty/miniz/miniz.c HEADERS += thirdparty/miniz/miniz.h INCLUDEPATH += thirdparty/fbx/src SOURCES += thirdparty/fbx/src/fbxdocument.cpp HEADERS += thirdparty/fbx/src/fbxdocument.h SOURCES += thirdparty/fbx/src/fbxnode.cpp HEADERS += thirdparty/fbx/src/fbxnode.h SOURCES += thirdparty/fbx/src/fbxproperty.cpp HEADERS += thirdparty/fbx/src/fbxproperty.h SOURCES += thirdparty/fbx/src/fbxutil.cpp HEADERS += thirdparty/fbx/src/fbxutil.h INCLUDEPATH += thirdparty/simpleuv INCLUDEPATH += thirdparty/simpleuv/thirdparty/libigl/include INCLUDEPATH += thirdparty/simpleuv/thirdparty/eigen INCLUDEPATH += thirdparty/simpleuv/thirdparty/squeezer SOURCES += thirdparty/simpleuv/simpleuv/uvunwrapper.cpp HEADERS += thirdparty/simpleuv/simpleuv/uvunwrapper.h SOURCES += thirdparty/simpleuv/simpleuv/parametrize.cpp HEADERS += thirdparty/simpleuv/simpleuv/parametrize.h SOURCES += thirdparty/simpleuv/simpleuv/chartpacker.cpp HEADERS += thirdparty/simpleuv/simpleuv/chartpacker.h SOURCES += thirdparty/simpleuv/simpleuv/triangulate.cpp HEADERS += thirdparty/simpleuv/simpleuv/triangulate.h HEADERS += thirdparty/simpleuv/simpleuv/meshdatatype.h SOURCES += thirdparty/simpleuv/simpleuv/meshdatatype.cpp SOURCES += thirdparty/simpleuv/thirdparty/squeezer/maxrects.c HEADERS += thirdparty/simpleuv/thirdparty/squeezer/maxrects.h INCLUDEPATH += thirdparty/QtWaitingSpinner SOURCES += thirdparty/QtWaitingSpinner/waitingspinnerwidget.cpp HEADERS += thirdparty/QtWaitingSpinner/waitingspinnerwidget.h INCLUDEPATH += thirdparty/json win32 { LIBS += -luser32 LIBS += -lopengl32 isEmpty(BOOST_INCLUDEDIR) { BOOST_INCLUDEDIR = $$(BOOST_INCLUDEDIR) } isEmpty(CGAL_DIR) { CGAL_DIR = $$(CGAL_DIR) } isEmpty(BOOST_INCLUDEDIR) { error("No BOOST_INCLUDEDIR define found in enviroment variables") } isEmpty(CGAL_DIR) { error("No CGAL_DIR define found in enviroment variables") } GMP_LIBNAME = libgmp-10 MPFR_LIBNAME = libmpfr-4 CGAL_LIBNAME = CGAL-vc140-mt-4.13 CGAL_INCLUDEDIR = $$CGAL_DIR\include CGAL_BUILDINCLUDEDIR = $$CGAL_DIR\build\include CGAL_LIBDIR = $$CGAL_DIR\build\lib\Release GMP_INCLUDEDIR = $$CGAL_DIR\auxiliary\gmp\include GMP_LIBDIR = $$CGAL_DIR\auxiliary\gmp\lib MPFR_INCLUDEDIR = $$GMP_INCLUDEDIR MPFR_LIBDIR = $$GMP_LIBDIR } macx { GMP_LIBNAME = gmp MPFR_LIBNAME = mpfr CGAL_LIBNAME = cgal BOOST_INCLUDEDIR = /usr/local/opt/boost/include CGAL_INCLUDEDIR = /usr/local/opt/cgal/include CGAL_BUILDINCLUDEDIR = /usr/local/opt/cgal/include CGAL_LIBDIR = /usr/local/opt/cgal/lib GMP_INCLUDEDIR = /usr/local/opt/gmp/include GMP_LIBDIR = /usr/local/opt/gmp/lib MPFR_INCLUDEDIR = /usr/local/opt/mpfr/include MPFR_LIBDIR = /usr/local/opt/mpfr/lib } unix:!macx { GMP_LIBNAME = gmp MPFR_LIBNAME = mpfr CGAL_LIBNAME = CGAL BOOST_INCLUDEDIR = /usr/local/include CGAL_INCLUDEDIR = /usr/local/include CGAL_BUILDINCLUDEDIR = /usr/local/include CGAL_LIBDIR = /usr/local/lib GMP_INCLUDEDIR = /usr/local/include GMP_LIBDIR = /usr/local/lib MPFR_INCLUDEDIR = /usr/local/include MPFR_LIBDIR = /usr/local/lib } INCLUDEPATH += $$BOOST_INCLUDEDIR INCLUDEPATH += $$GMP_INCLUDEDIR LIBS += -L$$GMP_LIBDIR -l$$GMP_LIBNAME INCLUDEPATH += $$MPFR_INCLUDEDIR LIBS += -L$$MPFR_LIBDIR -l$$MPFR_LIBNAME INCLUDEPATH += $$CGAL_INCLUDEDIR INCLUDEPATH += $$CGAL_BUILDINCLUDEDIR LIBS += -L$$CGAL_LIBDIR -l$$CGAL_LIBNAME target.path = ./ INSTALLS += target