mirror of https://github.com/axmolengine/axmol.git
Qt5 build support (initial work)
This commit is contained in:
parent
ea3858fdf2
commit
62958c8321
|
@ -0,0 +1,8 @@
|
|||
|
||||
TEMPLATE = subdirs
|
||||
|
||||
CONFIG += ordered
|
||||
|
||||
SUBDIRS += external/chipmunk/proj.qt5/chipmunk.pro
|
||||
SUBDIRS += external/Box2D/proj.qt5/box2d.pro
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
OS_TYPE = linux
|
||||
|
||||
CONFIG(debug, debug|release) {
|
||||
BUILD_TYPE = debug
|
||||
} else {
|
||||
BUILD_TYPE = release
|
||||
}
|
||||
|
||||
OBJECTS_DIR = obj/$${BUILD_TYPE}
|
||||
LIB_OUTPUT_DIR = $${PWD}/../../lib/$${OS_TYPE}/$${BUILD_TYPE}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
include(../../../cocos2dx/proj.qt5/common.pri)
|
||||
|
||||
TEMPLATE = lib
|
||||
CONFIG += static
|
||||
|
||||
SOURCES += $$files(../Collision/Shapes/*.cpp)
|
||||
SOURCES += $$files(../Collision/*.cpp)
|
||||
SOURCES += $$files(../Common/*.cpp)
|
||||
SOURCES += $$files(../Dynamics/Contacts/*.cpp)
|
||||
SOURCES += $$files(../Dynamics/Joints/*.cpp)
|
||||
SOURCES += $$files(../Dynamics/*.cpp)
|
||||
SOURCES += $$files(../Rope/*.cpp)
|
||||
|
||||
INCLUDEPATH += ../..
|
||||
|
||||
TARGET = $${LIB_OUTPUT_DIR}/box2d
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
include(../../../cocos2dx/proj.qt5/common.pri)
|
||||
|
||||
TEMPLATE = lib
|
||||
CONFIG += static
|
||||
|
||||
SOURCES += $$files(../src/*.c)
|
||||
SOURCES += $$files(../src/constraints/*.c)
|
||||
|
||||
INCLUDEPATH += ../include/chipmunk
|
||||
|
||||
TARGET = $${LIB_OUTPUT_DIR}/chipmunk
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
include(../../../cocos2dx/proj.qt5/common.pri)
|
||||
|
||||
TEMPLATE = lib
|
||||
CONFIG += static
|
||||
CONFIG += c++11
|
||||
|
||||
SOURCES += $$files(../lua/*.c)
|
||||
SOURCES += $$files(../tolua/*.c)
|
||||
SOURCES += $$files(../cocos2dx_support/*.c)
|
||||
SOURCES += $$files(../cocos2dx_support/*.cpp)
|
||||
|
||||
DEFINES += CC_TARGET_OS_MAC
|
||||
|
||||
INCLUDEPATH += ..
|
||||
INCLUDEPATH += ../lua
|
||||
INCLUDEPATH += ../tolua
|
||||
INCLUDEPATH += ../Classes
|
||||
INCLUDEPATH += ../../../CocosDenshion/include
|
||||
INCLUDEPATH += ../../../extensions
|
||||
INCLUDEPATH += ../../../external/chipmunk/include/chipmunk
|
||||
INCLUDEPATH += ../../../cocos2dx/include
|
||||
INCLUDEPATH += ../../../cocos2dx
|
||||
INCLUDEPATH += ../../../cocos2dx/platform/qt5
|
||||
INCLUDEPATH += ../../../cocos2dx/kazmath/include
|
||||
|
||||
# XXX SHAREDLIBS += -lextension
|
||||
|
||||
TARGET = $${LIB_OUTPUT_DIR}/lua
|
||||
|
Loading…
Reference in New Issue