2012-12-16 15:06:14 +00:00
|
|
|
QT += opengl
|
|
|
|
QT -= gui
|
|
|
|
TARGET = Native
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
2012-12-23 07:46:44 +00:00
|
|
|
include(Settings.pri)
|
|
|
|
|
|
|
|
!mobile_platform: {
|
|
|
|
SOURCES += ../native/ext/glew/glew.c
|
2013-01-31 16:25:11 +00:00
|
|
|
HEADERS += ../native/ext/glew/GL/*.h
|
2012-12-23 07:46:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Backtrace
|
|
|
|
x86:!mobile_platform: {
|
|
|
|
SOURCES += ../native/base/backtrace.cpp
|
|
|
|
HEADERS += ../native/base/backtrace.h
|
2012-12-16 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
2013-03-31 06:55:48 +00:00
|
|
|
# RG_ETC1
|
2013-03-29 15:16:40 +00:00
|
|
|
|
|
|
|
SOURCES += ../native/ext/rg_etc1/rg_etc1.cpp
|
|
|
|
HEADERS += ../native/ext/rg_etc1/rg_etc1.h
|
|
|
|
INCLUDEPATH += ../native/ext/rg_etc1
|
2012-12-16 15:06:14 +00:00
|
|
|
|
2013-07-05 04:53:55 +00:00
|
|
|
# JPGE
|
|
|
|
SOURCES += ../native/ext/jpge/*.cpp
|
|
|
|
HEADERS += ../native/ext/jpge/*.h
|
|
|
|
INCLUDEPATH += ../native/ext/jpge
|
|
|
|
|
2012-12-16 15:06:14 +00:00
|
|
|
# Stb_image
|
|
|
|
|
|
|
|
SOURCES += ../native/ext/stb_image/stb_image.c
|
|
|
|
HEADERS += ../native/ext/stb_image/stb_image.h
|
|
|
|
INCLUDEPATH += ../native/ext/stb_image
|
2013-10-19 18:48:28 +00:00
|
|
|
win32 {
|
|
|
|
SOURCES += ../native/ext/stb_image_write/stb_image_write.c
|
|
|
|
HEADERS += ../native/ext/stb_image_write/stb_image_writer.h
|
|
|
|
INCLUDEPATH += ../native/ext/stb_image_write
|
|
|
|
}
|
2012-12-16 15:06:14 +00:00
|
|
|
|
|
|
|
# Stb_vorbis
|
|
|
|
|
|
|
|
SOURCES += ../native/ext/stb_vorbis/stb_vorbis.c
|
|
|
|
HEADERS += ../native/ext/stb_vorbis/stb_vorbis.h
|
|
|
|
INCLUDEPATH += ../native/ext/stb_vorbis
|
|
|
|
|
2012-12-31 07:52:57 +00:00
|
|
|
# Snappy
|
|
|
|
|
2013-01-31 16:25:11 +00:00
|
|
|
SOURCES += ../ext/snappy/*.cpp
|
|
|
|
HEADERS += ../ext/snappy/*.h
|
2012-12-31 07:52:57 +00:00
|
|
|
INCLUDEPATH += ../ext/snappy
|
|
|
|
|
2012-12-16 15:06:14 +00:00
|
|
|
# Zlib
|
2012-12-23 07:46:44 +00:00
|
|
|
!symbian: {
|
2013-01-31 16:25:11 +00:00
|
|
|
SOURCES += ../ext/zlib/*.c
|
|
|
|
HEADERS += ../ext/zlib/*.h
|
2012-12-16 15:06:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Native
|
|
|
|
|
2013-01-31 16:25:11 +00:00
|
|
|
SOURCES += ../native/audio/*.cpp \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/base/buffer.cpp \
|
|
|
|
../native/base/colorutil.cpp \
|
|
|
|
../native/base/display.cpp \
|
|
|
|
../native/base/error_context.cpp \
|
|
|
|
../native/base/fastlist_test.cpp \
|
|
|
|
../native/base/stringutil.cpp \
|
|
|
|
../native/base/timeutil.cpp \
|
2013-06-05 17:26:04 +00:00
|
|
|
../native/data/compression.cpp \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/file/*.cpp \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/gfx/gl_debug_log.cpp \
|
|
|
|
../native/gfx/gl_lost_manager.cpp \
|
|
|
|
../native/gfx/texture.cpp \
|
|
|
|
../native/gfx/texture_atlas.cpp \
|
|
|
|
../native/gfx/texture_gen.cpp \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/gfx_es2/*.cpp \
|
2013-10-08 15:45:37 +00:00
|
|
|
../native/gfx_es2/*.c \
|
2013-04-19 15:12:03 +00:00
|
|
|
../native/i18n/*.cpp \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/image/*.cpp \
|
2013-07-17 01:14:41 +00:00
|
|
|
../native/input/*.cpp \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/math/curves.cpp \
|
2013-06-30 23:41:06 +00:00
|
|
|
../native/math/expression_parser.cpp \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/math/math_util.cpp \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/math/lin/*.cpp \
|
|
|
|
../native/net/*.cpp \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/profiler/profiler.cpp \
|
2013-04-14 13:09:37 +00:00
|
|
|
../native/thread/*.cpp \
|
2013-03-31 06:55:48 +00:00
|
|
|
../native/ui/*.cpp \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/util/bits/*.cpp \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/util/hash/hash.cpp \
|
2012-12-31 07:52:57 +00:00
|
|
|
../native/util/random/perlin.cpp \
|
|
|
|
../native/util/text/utf8.cpp
|
2012-12-16 15:06:14 +00:00
|
|
|
|
2013-01-31 16:25:11 +00:00
|
|
|
HEADERS += ../native/audio/*.h \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/base/basictypes.h \
|
|
|
|
../native/base/buffer.h \
|
|
|
|
../native/base/color.h \
|
|
|
|
../native/base/colorutil.h \
|
|
|
|
../native/base/display.h \
|
|
|
|
../native/base/error_context.h \
|
|
|
|
../native/base/fastlist.h \
|
|
|
|
../native/base/linked_ptr.h \
|
|
|
|
../native/base/logging.h \
|
|
|
|
../native/base/mutex.h \
|
|
|
|
../native/base/scoped_ptr.h \
|
|
|
|
../native/base/stats.h \
|
|
|
|
../native/base/stringutil.h \
|
|
|
|
../native/base/timeutil.h \
|
2013-06-05 17:26:04 +00:00
|
|
|
../native/data/compression.h \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/file/*.h \
|
2013-07-17 01:14:41 +00:00
|
|
|
../native/gfx/*.h \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/gfx_es2/*.h \
|
2013-04-19 15:12:03 +00:00
|
|
|
../native/i18n/*.h \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/image/*.h \
|
2013-07-17 01:14:41 +00:00
|
|
|
../native/input/*.h \
|
|
|
|
../native/math/*.h \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/math/lin/*.h \
|
|
|
|
../native/net/*.h \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/profiler/profiler.h \
|
2013-04-14 13:09:37 +00:00
|
|
|
../native/thread/*.h \
|
2013-07-17 01:14:41 +00:00
|
|
|
../native/ui/*.h \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/util/bits/*.h \
|
2012-12-23 07:46:44 +00:00
|
|
|
../native/util/hash/hash.h \
|
2013-01-31 16:25:11 +00:00
|
|
|
../native/util/random/*.h \
|
2013-10-27 14:28:18 +00:00
|
|
|
../native/util/text/utf8.h
|
2012-12-23 07:46:44 +00:00
|
|
|
INCLUDEPATH += ../native
|
2012-12-16 15:06:14 +00:00
|
|
|
|