From: Peter Jas Date: Sun, 7 Jun 2015 18:04:01 +0000 (+0000) Subject: build,freebsd: Adds freebsdmscorlib to build.cmd. X-Git-Tag: accepted/tizen/base/20180629.140029~6621^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0670a50513aa3a96a89fd7bd5c051e22ccbf05e4;p=platform%2Fupstream%2Fcoreclr.git build,freebsd: Adds freebsdmscorlib to build.cmd. --- diff --git a/Documentation/freebsd-instructions.md b/Documentation/freebsd-instructions.md index 7b49a28..feb306f 100644 --- a/Documentation/freebsd-instructions.md +++ b/Documentation/freebsd-instructions.md @@ -95,10 +95,10 @@ We don't _yet_ have support for building managed code on FreeBSD, so you'll need You will build `mscorlib.dll` out of the coreclr repository and the rest of the framework that out of the corefx repository. For mscorlib (from a regular command prompt window) run: ``` -D:\git\coreclr> build.cmd linuxmscorlib +D:\git\coreclr> build.cmd freebsdmscorlib ``` -The output is placed in `bin\Product\Linux.x64.Debug\mscorlib.dll`. You'll want to copy this to the runtime folder on your FreeBSD machine. (e.g. `~/coreclr-demo/runtime`) +The output is placed in `bin\Product\FreeBSD.x64.Debug\mscorlib.dll`. You'll want to copy this to the runtime folder on your FreeBSD machine. (e.g. `~/coreclr-demo/runtime`) For the rest of the framework, you need to pass some special parameters to build.cmd when building out of the CoreFX repository. diff --git a/build.cmd b/build.cmd index 5433711..0558b01 100644 --- a/build.cmd +++ b/build.cmd @@ -31,9 +31,10 @@ if /i "%1" == "release" (set __BuildType=Release&shift&goto Arg_Loop) if /i "%1" == "clean" (set __CleanBuild=1&shift&goto Arg_Loop) -if /i "%1" == "windowsmscorlib" (set __MscorlibOnly=1&set __BuildOS=Windows_NT&shift&goto Arg_Loop) +if /i "%1" == "freebsdmscorlib" (set __MscorlibOnly=1&set __BuildOS=FreeBSD&shift&goto Arg_Loop) if /i "%1" == "linuxmscorlib" (set __MscorlibOnly=1&set __BuildOS=Linux&shift&goto Arg_Loop) if /i "%1" == "osxmscorlib" (set __MscorlibOnly=1&set __BuildOS=OSX&shift&goto Arg_Loop) +if /i "%1" == "windowsmscorlib" (set __MscorlibOnly=1&set __BuildOS=Windows_NT&shift&goto Arg_Loop) if /i "%1" == "vs2013" (set __VSVersion=%1&set __VSProductVersion=120&shift&goto Arg_Loop) if /i "%1" == "vs2015" (set __VSVersion=%1&set __VSProductVersion=140&shift&goto Arg_Loop) diff --git a/dir.props b/dir.props index bcab50d..d44e11d 100644 --- a/dir.props +++ b/dir.props @@ -58,11 +58,12 @@ - true + true true true - - true + true + + true