Use Python 3 for the quick start scripts
parent
ceb10c3d21
commit
730d174f39
@ -0,0 +1,5 @@
|
||||
|
||||
# This generates the build scripts for all targets
|
||||
|
||||
|
||||
# end of file
|
@ -0,0 +1,33 @@
|
||||
|
||||
from .find_toolchain import *
|
||||
from .find_max import *
|
||||
|
||||
NeLTargetClientDev = FindToolchainEx(NeLToolchainNative)
|
||||
NeLTargetServerDev = FindToolchainEx(NeLToolchainNative)
|
||||
NeLTargetClient = {}
|
||||
for client in NeLConfig["Toolchain"]["Client"]:
|
||||
NeLTargetClient[client] = FindToolchainEx(NeLConfig["Toolchain"]["Client"][client])
|
||||
NeLTargetServer = FindToolchainEx(NeLConfig["Toolchain"]["Server"])
|
||||
NeLTargetTools = FindToolchainEx(NeLToolchainNative)
|
||||
NeLTargetSamples = FindToolchainEx(NeLToolchainNative)
|
||||
NelTargetPluginMax = {}
|
||||
remapMaxCompatible = {}
|
||||
foundMax = {}
|
||||
for maxSdk in FoundMaxSDKs:
|
||||
if "Compatible" in maxSdk:
|
||||
# Skip unnecessary builds
|
||||
if maxSdk["Compatible"] in foundMax:
|
||||
continue
|
||||
filters = [ { "Toolset": maxSdk["Toolset"], "Platform": maxSdk["Platform"], "HasMFC": True, "Hunter": True }, { "Toolset": maxSdk["Toolset"], "Platform": maxSdk["Platform"], "HasMFC": True } ]
|
||||
foundTs = FindToolchainEx(filters)
|
||||
if foundTs:
|
||||
foundMax[maxSdk["Version"]] = True
|
||||
if "Compatible" in maxSdk:
|
||||
foundMax[maxSdk["Compatible"]] = True
|
||||
NelTargetPluginMax[str(maxSdk["Version"]) + "_" + maxSdk["Platform"]] = foundTs
|
||||
del filters
|
||||
del foundTs
|
||||
del remapMaxCompatible
|
||||
del foundMax
|
||||
|
||||
# end of file
|
@ -1,4 +1,4 @@
|
||||
..\..\..\external\python27\python.exe configure_toolchains.py
|
||||
..\..\..\external\python27\python.exe find_toolchain.py
|
||||
..\..\..\external\python27\python.exe find_max.py
|
||||
..\..\..\external\python27\python.exe print_summary.py
|
||||
rem ..\..\..\external\python3\python.exe configure_toolchains.py
|
||||
rem ..\..\..\external\python3\python.exe find_toolchain.py
|
||||
rem ..\..\..\external\python3\python.exe find_max.py
|
||||
..\..\..\external\python3\python.exe print_summary.py
|
||||
|
Loading…
Reference in New Issue