Skip to content

Commit

Permalink
Prefer MSVC compiler on Windows by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Oct 8, 2021
1 parent 66be3eb commit d5ac20f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion worker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ export PYTHONDONTWRITEBYTECODE = 1
# Instruct `meson` where to look for ninja binary.
ifeq ($(OS),Windows_NT)
# Windows is, of course, special.
export NINJA = $(PIP_DIR)/bin/ninja.exe
export NINJA = $(PIP_DIR)/bin/ninja.exe
ifeq ($(CC),)
export CC = cl
endif
ifeq ($(CXX),)
export CXX = cl
endif
else
export NINJA = $(PIP_DIR)/bin/ninja
endif
Expand Down

0 comments on commit d5ac20f

Please sign in to comment.