'x86_64':clientDir.Dir('x64'),\r
}\r
\r
-vars = Variables()\r
-vars.Add(ListVariable("nvdaHelperDebugFlags", "a list of debugging features you require", 'symbols', ["symbols","debugCRT","RTC","noOptimize"]))\r
-vars.Add(EnumVariable('nvdaHelperLogLevel','The level of logging you wish to see, lower is more verbose','15',allowed_values=[str(x) for x in xrange(60)]))\r
-\r
#Build nvdaHelper for needed architectures\r
for arch in env['targetArchitectures']: \r
archEnv=env.Clone(TARGET_ARCH=arch,tools=['windowsSdk','midl','msrpc','boost','default'])\r
- vars.Update(archEnv)\r
archEnv.SConscript('archBuild_sconscript',exports={'env':archEnv,'clientInstallDir':archClientInstallDirs[arch],'libInstallDir':archLibInstallDirs[arch]},variant_dir='build/%s'%arch)\r
\r
vars.Add("certPassword", "The password for the private key in the signing certificate", "")\r
vars.Add(PathVariable("outputDir", "The directory where the final built archives and such will be placed", "output",PathVariable.PathIsDirCreate))\r
vars.Add(ListVariable('targetArchitectures','Which architectures should NVDA support?','all',['x86','x86_64']))\r
+vars.Add(ListVariable("nvdaHelperDebugFlags", "a list of debugging features you require", 'symbols', ["symbols","debugCRT","RTC","noOptimize"]))\r
+vars.Add(EnumVariable('nvdaHelperLogLevel','The level of logging you wish to see, lower is more verbose','15',allowed_values=[str(x) for x in xrange(60)]))\r
+\r
+#Base environment for this and sub sconscripts\r
+env = Environment(variables=vars,tools=["textfile","gettext","t2t",keyCommandsDocTool,'doxygen'])\r
\r
#Check for any unknown variables\r
unknown=vars.UnknownVariables().keys()\r
print "Unknown commandline variables: %s"%unknown\r
Exit(1)\r
\r
-env = Environment(variables=vars,tools=["textfile","gettext","t2t",keyCommandsDocTool,'doxygen'])\r
version = env["version"]\r
release = env["release"]\r
certFile = env["certFile"]\r
env.Alias("symbolsArchive", symbolsArchive)\r
\r
env.Default(portableDist)\r
+\r