зеркало из https://github.com/microsoft/BuildXL.git
e97cf24f14
Explicitly disable InBoxSdkSourceResolver in the CMake example. Should be changed back once we fix the bug. Related work items: #1830391 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
build.bat | ||
build.ps1 | ||
config.bc | ||
main.cc |
README.md
Instructions
- Setup BuildXL as explained in the documentation
- 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.
- Optionally specify search locations for the CMake binary in
config.bc
through thecMakeSearchLocations
parameter. If this is not specified, thePATH
environment variable will be used to findCMake.exe
. - Be aware that BuildXL uses the Ninja CMake generator and CMake requires the Ninja executable to carry out the build. This means that
ninja.exe
should be in yourPATH
or its location specified through theCMAKE_MAKE_PROGRAM
variable through thecacheEntries
property inconfig.bc
. - Run .\build.ps1 from PowerShell, or equivalently build.bat from the command line prompt
The build outputs will be located in Out/Example. For further configuration options, see: https://github.com/microsoft/BuildXL/blob/master/Public/Sdk/Public/Prelude/Prelude.Configuration.Resolvers.dsc#L285