diff --git a/README.md b/README.md index 8bc56d027d..15e54ac019 100644 --- a/README.md +++ b/README.md @@ -319,12 +319,19 @@ Run it: #### Building with Ninja on Windows -Alternatively, you can use [Ninja](https://ninja-build.org/) to build for Windows. An MSVC installation is still necessary. +Alternatively, you can use [Ninja](https://ninja-build.org/) to build for Windows. An MSVC +installation is still necessary. -First, install the dependencies listed under [Windows](#Windows) as well as Ninja. Then open up a VS2015 x64 Native Tools terminal as before. Create a build directory inside Filament and run the following CMake command: +First, install the dependencies listed under [Windows](#Windows) as well as Ninja. Then open up a +VS2015 x64 Native Tools terminal as before. Create a build directory inside Filament and run the +following CMake command: ``` -cmake .. -G Ninja -DCMAKE_CXX_COMPILER:PATH="C:\Program Files\LLVM\bin\clang-cl.exe" -DCMAKE_C_COMPILER:PATH="C:\Program Files\LLVM\bin\clang-cl.exe" -DCMAKE_LINKER:PATH="C:\Program Files\LLVM\bin\lld-link.exe" -DCMAKE_BUILD_TYPE=Release +cmake .. -G Ninja ^ +-DCMAKE_CXX_COMPILER:PATH="C:\Program Files\LLVM\bin\clang-cl.exe" ^ +-DCMAKE_C_COMPILER:PATH="C:\Program Files\LLVM\bin\clang-cl.exe" ^ +-DCMAKE_LINKER:PATH="C:\Program Files\LLVM\bin\lld-link.exe" ^ +-DCMAKE_BUILD_TYPE=Release ``` You should then be able to build by invoking Ninja: