target_arch = env.get('TARGET_ARCH')
src_dir = env.get('SRC_DIR')
-if target_os not in ['linux', 'darwin']:
- utils_path = env.get('OIC_UTILS')
-
resource_path = src_dir + '/resource'
######################################################################
])
######################################################################
-# The 'include' path of third party libraries
-######################################################################
-if target_os == 'android':
- lib_env.AppendUnique(CPPPATH = [
- utils_path + '/android/boost/include',
- utils_path + '/android/expat/include/expat/',
- utils_path + '/android/openssl/include',
- ])
-
-######################################################################
# The path of third party libraries binary
######################################################################
if target_os == 'android':
*******************************************************************************
'''
else:
- lib_env.AppendUnique(LIBPATH = [
- utils_path + '/android/boost/libs/' + target_arch,
- utils_path + '/android/expat/lib/' + target_arch,
- utils_path + '/android/openssl/lib/' + target_arch,
- ])
# Too much boost warning, suppress the warning
lib_env.AppendUnique(CCFLAGS = ['-w'])
elif target_os == 'ios':
- lib_env.AppendUnique(FRAMEWORKPATH = [utils_path + '/ios/frameworks/'])
lib_env.AppendUnique(FRAMEWORKS = ['boost', 'expat', 'openssl'])
elif target_os == 'darwin':
lib_env.AppendUnique(CPPPATH = ['/usr/local/include'])