mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Force the use of clang-cl.exe for Windows builds.
This commit is contained in:
parent
817aa49dc7
commit
c038ba4c7c
4 changed files with 9 additions and 7 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