2012-03-16 15:00:33 +00:00
|
|
|
#
|
|
|
|
# Common build settings for all iOS configurations
|
|
|
|
#
|
|
|
|
|
2012-11-01 15:11:35 +00:00
|
|
|
QT_QPA_DEFAULT_PLATFORM = ios
|
|
|
|
|
2012-11-21 13:49:47 +00:00
|
|
|
QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
|
|
|
|
|
2012-11-01 12:18:15 +00:00
|
|
|
# iOS build tools
|
2013-02-27 14:01:25 +00:00
|
|
|
QMAKE_CC = clang
|
|
|
|
QMAKE_CXX = clang++
|
|
|
|
QMAKE_FIX_RPATH = install_name_tool -id
|
|
|
|
QMAKE_AR = ar cq
|
|
|
|
QMAKE_RANLIB = ranlib -s
|
2012-11-01 12:18:15 +00:00
|
|
|
QMAKE_LINK = $$QMAKE_CXX
|
|
|
|
QMAKE_LINK_SHLIB = $$QMAKE_CXX
|
|
|
|
|
2012-11-01 11:31:36 +00:00
|
|
|
# No OpenGL ES1
|
|
|
|
QMAKE_INCDIR_OPENGL_ES1 =
|
2012-03-16 15:00:33 +00:00
|
|
|
QMAKE_LIBDIR_OPENGL_ES1 =
|
2012-11-01 11:31:36 +00:00
|
|
|
QMAKE_LIBS_OPENGL_ES1 =
|
2012-03-16 15:00:33 +00:00
|
|
|
|
|
|
|
# OpenGL ES2
|
2013-02-15 15:35:52 +00:00
|
|
|
QMAKE_INCDIR_OPENGL_ES2 =
|
2012-03-16 15:00:33 +00:00
|
|
|
QMAKE_LIBDIR_OPENGL_ES2 =
|
|
|
|
QMAKE_LIBS_OPENGL_ES2 = -framework OpenGLES
|
|
|
|
|
|
|
|
# No desktop OpenGL
|
|
|
|
QMAKE_INCDIR_OPENGL =
|
|
|
|
QMAKE_LIBS_OPENGL =
|