mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Auto merge of #23256 - jdm:clang-cl, r=asajeffrey
Use clang-cl for Windows builds Depends on https://github.com/servo/mozjs/pull/178. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23256) <!-- Reviewable:end -->
This commit is contained in:
commit
36bb42525a
6 changed files with 13 additions and 11 deletions
|
@ -25,11 +25,6 @@ fn main() {
|
|||
// We must use Ninja on Windows for this -- msbuild is painfully slow,
|
||||
// and ninja is easier to install than make.
|
||||
build.generator("Ninja");
|
||||
// because we're using ninja, we need to explicitly set these
|
||||
// to VC++, otherwise it'll try to use cc
|
||||
build
|
||||
.define("CMAKE_C_COMPILER", "cl.exe")
|
||||
.define("CMAKE_CXX_COMPILER", "cl.exe");
|
||||
// We have to explicitly specify the full path to link.exe,
|
||||
// for reasons that I don't understand. If we just give
|
||||
// link.exe, it tries to use script-*/out/link.exe, which of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue