Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit 09c8d60

Browse files
VPeruSalexrp
authored andcommitted
Switch from xbuild to msbuild.
1 parent f8a56ff commit 09c8d60

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ PKG_CONFIG ?= pkg-config
3737
PREFIX ?= /usr/local
3838
SED ?= sed
3939
TAR ?= tar
40-
XBUILD ?= xbuild
40+
MSBUILD ?= msbuild
4141

4242
export MONO_PREFIX ?= /usr
4343
MODE ?= Debug
@@ -55,7 +55,7 @@ endif
5555
FSHARPC_FLAGS += --nologo --warnaserror
5656
GENDARME_FLAGS += --severity all --confidence all
5757
MCS_FLAGS += -langversion:experimental -unsafe -warnaserror
58-
XBUILD_FLAGS += /nologo /property:Configuration=$(MODE) /verbosity:quiet
58+
MSBUILD_FLAGS += /nologo /property:Configuration=$(MODE) /verbosity:quiet
5959

6060
FSHARPC_TEST_FLAGS += --debug+ --nologo --warnaserror
6161
MCS_TEST_FLAGS += -debug -langversion:experimental -unsafe -warnaserror
@@ -114,7 +114,7 @@ clean-check:
114114
$(RM) $(tests)
115115

116116
clean-deps:
117-
$(CD) dep/debugger-libs && $(XBUILD) $(XBUILD_FLAGS) /target:Clean debugger-libs.sln
117+
$(CD) dep/debugger-libs && $(MSBUILD) $(MSBUILD_FLAGS) /target:Clean debugger-libs.sln
118118

119119
clean-release:
120120
$(RM) -r rel
@@ -175,7 +175,7 @@ override deps = \
175175
$(refs)
176176

177177
$(addprefix bin/, $(deps)):
178-
$(CD) dep/debugger-libs && $(NUGET) restore debugger-libs.sln && $(XBUILD) $(XBUILD_FLAGS) debugger-libs.sln
178+
$(CD) dep/debugger-libs && $(NUGET) restore debugger-libs.sln && $(MSBUILD) $(MSBUILD_FLAGS) debugger-libs.sln
179179
$(MKDIR) -p bin
180180
$(CP) dep/nrefactory/bin/Debug/ICSharpCode.NRefactory.dll \
181181
bin/ICSharpCode.NRefactory.dll

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ line to affect the build:
6464
* `RM`: Path to the `rm` POSIX utility.
6565
* `SED`: Path to the `sed` POSIX utility.
6666
* `TAR`: Path to the `tar` POSIX utility.
67-
* `XBUILD`: Which XBuild executable to use.
68-
* `XBUILD_FLAGS`: Flags to pass to XBuild.
67+
* `MSBUILD`: Which MSBuild executable to use.
68+
* `MSBUILD_FLAGS`: Flags to pass to MSBuild.
6969

7070
Additionally, `MODE` can be set to `Debug` (default) or `Release` to indicate
7171
the kind of build desired. `PREFIX` can be set to specify the path that the

0 commit comments

Comments
 (0)