- Set the environment variable
BUILDXL_BINto the BuildXL binary folder containingbxl.exe. For example, if your BuildXL repo is inD:\BuildXL, then building BuildXL itself usingbxl.cmd -Minimalwill put thebxl.exeinD:\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.exeshould 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