-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdefault-android-armv7.sconf
61 lines (49 loc) · 2.95 KB
/
default-android-armv7.sconf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import os
import sys
windows = os.name.lower() == "nt" and sys.platform.lower().startswith("win")
macos = sys.platform.lower().startswith("darwin")
linux = not windows and not macos
unix = not windows
mode='release'
check_libs=0
jobs=6
extern = '#../3rdParties'
aliases = [('mvp_player_qt')]
default = 'mvp_player_qt'
CPPDEFINES.extend(['FORCE_REMOTE_BY_DEFAULT', '_GLIBCXX_USE_WCHAR_T', '_GLIBCXX__PTHREADS', '_REENTRANT', 'ANDROID', '__ANDROID__', 'BOOST_SIGNALS_NO_DEPRECATION_WARNING', 'BOOST_SPIRIT_USE_PHOENIX_V3'])
CPPPATH.extend(['/Users/djarwood/_DEV/3rdParties/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include',
'/Users/djarwood/_DEV/3rdParties/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/',
'/Users/djarwood/_DEV/3rdParties/android-ndk/platforms/android-19/arch-arm/usr/include'
])
LIBS.extend( ['gnustl_shared', 'log', 'z', 'm', 'dl', 'c', 'gcc'] )
LIBPATH.extend( ['/Users/djarwood/_DEV/3rdParties/android-ndk/platforms/android-19/arch-arm/usr/lib/',
'/Users/djarwood/_DEV/3rdParties/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/'] )
LINKFLAGS.extend( ['-fPIC', '-shared', '--sysroot=/Users/admin/_DEV/3rdParties/android-sdk/sdk/platforms/android-19/arch-arm/'] )
CXXFLAGS.extend( ['-fPIC', '-fno-use-cxa-atexit', '-std=gnu++11', '-mthumb', '-Wno-psabi', '-march=armv7-a', '-mfloat-abi=softfp', '-ffunction-sections', '-funwind-tables', '-fomit-frame-pointer', '-fstrict-aliasing', '-funswitch-loops'] )
ccache = False
ccachedir = join(extern,'mvpPlayerCache')
incdir_qt5 = join(extern, 'qt5/5.4/android_armv7/include')
libdir_qt5 = join(extern, 'qt5/5.4/android_armv7/lib')
lib_qt5 = [ 'Qt5Network', 'Qt5Multimedia', 'Qt5Core', 'Qt5Gui', 'Qt5PrintSupport', 'Qt5Widgets', 'Qt5OpenGL', 'Qt5Sql', 'Qt5Script' ]
lib_boost_thread = 'boost_thread-gcc-mt-1_58'
lib_boost_signals = 'boost_signals-gcc-mt-1_58'
lib_boost_system = 'boost_system-gcc-mt-1_58'
lib_boost_filesystem = 'boost_filesystem-gcc-mt-1_58'
lib_boost_serialization = 'boost_serialization-gcc-mt-1_58'
lib_boost_regex = 'boost_regex-gcc-mt-1_58'
lib_boost_date_time = 'boost_date_time-gcc-mt-1_58'
lib_boost_program_options = 'boost_program_options-gcc-mt-1_58'
lib_boost_chrono = 'libboost_chrono-gcc-mt-1_58.a'
lib_boost_log = 'libboost_log-gcc-mt-1_58.a'
lib_boost_math = 'boost_math_c99-gcc-mt-1_58'
incdir_boost = join(extern,'Boost-for-Android-armv7/build/include/boost-1_58')
libdir_boost = join(extern,'Boost-for-Android-armv7/build/lib')
incdir_fmod = join(extern,'fmodstudioapi10510android/api/lowlevel/inc')
libdir_fmod = join(extern,'fmodstudioapi10510android/api/lowlevel/lib/armeabi-v7a/')
#incdir_judymatch = [join(extern, 'judymatch/libraries/judymatch/src'), join(extern, 'judymatch/libraries/judy/src')]
#libdir_judymatch = join(extern, 'judymatch/lib')
CXX='arm-linux-androideabi-g++'
CC='arm-linux-androideabi-gcc'
RANLIB='arm-linux-androideabi-ranlib'
AR='arm-linux-androideabi-ar'
SHLIBSUFFIX='.so'