зеркало из https://github.com/microsoft/BuildXL.git
3b54737b0b
The inbox sdk source resolver fails for Ninja builds. Disable it explicitly in this case, to not require this configuration explicitly in the resolver settings. Related work items: #2154307 |
||
---|---|---|
.. | ||
src | ||
README.md | ||
build.bat | ||
build.ps1 | ||
config.dsc |
README.md
Instructions
- Set the environment variable
BUILDXL_BIN
to the BuildXL binary folder containingbxl.exe
. For example, if your BuildXL repo is inD:\BuildXL
, then building BuildXL itself usingbxl.cmd -Minimal
will put thebxl.exe
inD:\BuildXL\Out\Bin\debug\win-x64
. - Point the environment variable BUILDXL_BIN to the BuildXL binary folder path. For example, if you set up BuildXL in D:\BuildXL, then D:\BuildXL\Out\Bin\debug\win-x64 should be the value.
- Be aware that BuildXL requires the Ninja executable to evaluate the build specification. This means that
ninja.exe
should be in yourPATH
. - Run .\build.ps1 from PowerShell, or equivalently build.bat from the command line prompt
The build outputs (hello_copy.txt
, hello_world.txt
) will be located in Out
. For further configuration options, see the NinjaResolverSettings
in https://github.com/microsoft/BuildXL/blob/main/Public/Sdk/Public/Prelude/Prelude.Configuration.Resolvers.dsc