Skip to content
Snippets Groups Projects
Commit 7a6a1a6c authored by an7s's avatar an7s
Browse files

Cleaner build_appfw option

Former-commit-id: 39eb18e260104436d2f9a5b09ae3f02e0daad410
parent 9ffd1a49
No related branches found
No related tags found
No related merge requests found
......@@ -33,5 +33,8 @@ libxform=SConscript("xform/SConscript", variant_dir='scons_build/libxform')
libtransform=SConscript("libtransform/SConscript", variant_dir='scons_build/libtransform')
libIRDB=SConscript("libIRDB/SConscript", variant_dir='scons_build/libIRDB')
SConscript("tools/SConscript", variant_dir='scons_build/tools')
if int(env['build_appfw'])==1:
build_appfw=ARGUMENTS.get("build_appfw", None)
if build_appfw is None or int(build_appfw)==1:
SConscript("appfw/SConscript", variant_dir='scons_build/appfw')
#if ARGUMENTS.get("build_appfw", None) is None or int(env['build_appfw'])==1:
......@@ -13,11 +13,11 @@ env.Replace(LINKFLAGS="-fPIC -w ")
env.Replace(SECURITY_TRANSFORMS_HOME=os.environ['SECURITY_TRANSFORMS_HOME'])
env.Replace(do_64bit_build=ARGUMENTS.get("do_64bit_build",None))
env.Replace(debug=ARGUMENTS.get("debug",0))
env.Replace(build_appfw=ARGUMENTS.get("build_appfw", None))
#env.Replace(build_appfw=ARGUMENTS.get("build_appfw", None))
# by default, turn on build of appfw
if env['build_appfw'] is None:
env['build_appfw'] = 1
#if env['build_appfw'] is None:
# env['build_appfw'] = 1
if int(env['debug']) == 1:
print "Setting debug mode"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment