DEFINES += CC_TARGET_QT5 CONFIG += silent # Disable some warnings to make compiler output easier to read during development DISABLED_WARNINGS = -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-psabi QMAKE_CXXFLAGS += $${DISABLED_WARNINGS} -Wno-reorder QMAKE_CFLAGS += $${DISABLED_WARNINGS} # C++11 support (GCC 4.6; for newer versions, change to -std=c++11) QMAKE_CXXFLAGS += -Doverride= -std=c++0x OS_TYPE = linux CONFIG(debug, debug|release) { BUILD_TYPE = debug } else { BUILD_TYPE = release } OBJECTS_DIR = obj/$${BUILD_TYPE} MOC_DIR = obj/$${BUILD_TYPE} LIB_OUTPUT_DIR = $${PWD}/../../lib/$${OS_TYPE}/$${BUILD_TYPE} # Installation location of binaries LIB_INSTALL_DIR = /usr/lib BIN_INSTALL_DIR = /usr/bin DESKTOP_INSTALL_DIR = /usr/share/applications INCLUDEPATH += $${PWD}/.. INCLUDEPATH += $${PWD}/../include INCLUDEPATH += $${PWD}/../platform INCLUDEPATH += $${PWD}/../platform/qt5 INCLUDEPATH += $${PWD}/../kazmath/include COCOS2DX_SYSTEM_LIBS += -lz COCOS2DX_SYSTEM_LIBS += -ljpeg -ltiff -lpng COCOS2DX_SYSTEM_LIBS += -lfontconfig -lfreetype # Sensors module needed for CCAccelerometer QT += sensors LINK_AGAINST_COCOS2DX = -L$${LIB_OUTPUT_DIR} -lcocos2d $${COCOS2DX_SYSTEM_LIBS} # CocosDenshion (audio library) QT += multimedia INCLUDEPATH += $${PWD}/../../CocosDenshion/include LINK_AGAINST_COCOSDENSHION = -lcocosdenshion # Extensions library INCLUDEPATH += $${PWD}/../../extensions LINK_AGAINST_COCOSEXTENSION = -lextension -lbox2d -lchipmunk -lcurl # Physics engines (pick one) DEFINES += CC_ENABLE_CHIPMUNK_INTEGRATION #DEFINES += CC_ENABLE_BOX2D_INTEGRATION INCLUDEPATH += $${PWD}/../../external/chipmunk/include/chipmunk INCLUDEPATH += $${PWD}/../../external