env.AppendUnique(CPPDEFINES = ['TB_LOG'])
lib_env = env.Clone()
-SConscript(env.get('SRC_DIR') + '/service/third_party_libs.scons', 'lib_env')
+SConscript('#service/third_party_libs.scons', 'lib_env')
scenemanager_env = lib_env.Clone()
target_os = env.get('TARGET_OS')
if target_os not in ['darwin', 'ios', 'windows']:
scenemanager_env.AppendUnique(LINKFLAGS = ['-Wl,--no-undefined'])
-if target_os == 'linux':
+if target_os in ['linux']:
scenemanager_env.AppendUnique(LIBS = ['pthread'])
-
if target_os == 'android':
scenemanager_env.AppendUnique(CXXFLAGS = ['-frtti', '-fexceptions'])
scenemanager_env.AppendUnique(LIBS = ['gnustl_shared','log'])
-if not env.get('RELEASE'):
+if not env.get('RELEASE') and target_os not in ['ios']:
scenemanager_env.PrependUnique(LIBS = ['gcov'])
scenemanager_env.AppendUnique(CXXFLAGS = ['--coverage'])
######################################################################
# Source files and Targets
######################################################################
-SCENE_SRC_DIR = './src/'
+SCENE_SRC_DIR = './src/'
scenemanager_src = Glob(SCENE_SRC_DIR + '*.cpp')
if target_os in ['tizen','android'] :
scenemanager_env.UserInstallTargetHeader('include/RemoteSceneAction.h', 'service/scene-manager', 'RemoteSceneAction.h')
# Go to build Unit test
-if target_os == 'linux':
+if target_os in ['linux']:
SConscript('unittests/SConscript')
# Go to build sample apps