]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/zstd/build/VS_scripts/README.md
Import zstandard 1.1.4 in base
[FreeBSD/FreeBSD.git] / contrib / zstd / build / VS_scripts / README.md
1 Command line scripts for Visual Studio compilation without IDE
2 ==============================================================
3
4 Here are a few command lines for reference :
5
6 ### Build with Visual Studio 2013 for msvcr120.dll
7
8 Running the following command will build both the `Release Win32` and `Release x64` versions:
9 ```batch
10 build\build.VS2013.cmd
11 ```
12 The result of each build will be in the corresponding `build\bin\Release\{ARCH}\` folder.
13
14 If you want to only need one architecture:
15 - Win32: `build\build.generic.cmd VS2013 Win32 Release v120`
16 - x64: `build\build.generic.cmd VS2013 x64 Release v120`
17
18 If you want a Debug build:
19 - Win32: `build\build.generic.cmd VS2013 Win32 Debug v120`
20 - x64: `build\build.generic.cmd VS2013 x64 Debug v120`
21
22 ### Build with Visual Studio 2015 for msvcr140.dll
23
24 Running the following command will build both the `Release Win32` and `Release x64` versions:
25 ```batch
26 build\build.VS2015.cmd
27 ```
28 The result of each build will be in the corresponding `build\bin\Release\{ARCH}\` folder.
29
30 If you want to only need one architecture:
31 - Win32: `build\build.generic.cmd VS2015 Win32 Release v140`
32 - x64: `build\build.generic.cmd VS2015 x64 Release v140`
33
34 If you want a Debug build:
35 - Win32: `build\build.generic.cmd VS2015 Win32 Debug v140`
36 - x64: `build\build.generic.cmd VS2015 x64 Debug v140`
37
38 ### Build with Visual Studio 2015 for msvcr120.dll
39
40 You need to invoke `build\build.generic.cmd` with the proper arguments:
41
42 **For Win32**
43 ```batch
44 build\build.generic.cmd VS2015 Win32 Release v120
45 ```
46 The result of the build will be in the `build\bin\Release\Win32\` folder.
47
48 **For x64**
49 ```batch
50 build\build.generic.cmd VS2015 x64 Release v120
51 ```
52 The result of the build will be in the `build\bin\Release\x64\` folder.
53
54 If you want Debug builds, replace `Release` with `Debug`.