summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 0 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index ee3a54b5ab..a1c013422e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -85,7 +85,6 @@ env_base.use_ptrcall = False
env_base.split_drivers = False
-
env_base.__class__.android_add_maven_repository = methods.android_add_maven_repository
env_base.__class__.android_add_dependency = methods.android_add_dependency
env_base.__class__.android_add_java_dir = methods.android_add_java_dir
@@ -199,7 +198,6 @@ elif env_base['p'] != "":
env_base["platform"] = selected_platform
-
if selected_platform in platform_list:
sys.path.append("./platform/" + selected_platform)
@@ -298,7 +296,6 @@ if selected_platform in platform_list:
sys.path.remove("./platform/" + selected_platform)
sys.modules.pop('detect')
-
env.module_list = []
for x in module_list:
@@ -314,7 +311,6 @@ if selected_platform in platform_list:
sys.path.remove(tmppath)
sys.modules.pop('config')
-
if (env.use_ptrcall):
env.Append(CPPFLAGS=['-DPTRCALL_ENABLED']);
@@ -371,7 +367,6 @@ if selected_platform in platform_list:
# has a purpose.
# env['MSVS_VERSION']='9.0'
-
# Calls a CMD with /C(lose) and /V(delayed environment variable expansion) options.
# And runs vcvarsall bat for the propper arhitecture and scons for propper configuration
env['MSVSBUILDCOM'] = 'cmd /V /C set "plat=$(PlatformTarget)" ^& (if "$(PlatformTarget)"=="x64" (set "plat=x86_amd64")) ^& set "tools=yes" ^& (if "$(Configuration)"=="release" (set "tools=no")) ^& call "$(VCInstallDir)vcvarsall.bat" !plat! ^& scons platform=windows target=$(Configuration) tools=!tools! -j2'