1 Command line scripts for Visual Studio compilation without IDE
2 ==============================================================
4 Here are a few command lines for reference :
6 ### Build with Visual Studio 2013 for msvcr120.dll
8 Running the following command will build both the `Release Win32` and `Release x64` versions:
12 The result of each build will be in the corresponding `bin\Release\{ARCH}\` folder.
14 If you want to only need one architecture:
15 - Win32: `build.generic.cmd VS2013 Win32 Release v120`
16 - x64: `build.generic.cmd VS2013 x64 Release v120`
18 If you want a Debug build:
19 - Win32: `build.generic.cmd VS2013 Win32 Debug v120`
20 - x64: `build.generic.cmd VS2013 x64 Debug v120`
22 ### Build with Visual Studio 2015 for msvcr140.dll
24 Running the following command will build both the `Release Win32` and `Release x64` versions:
28 The result of each build will be in the corresponding `bin\Release\{ARCH}\` folder.
30 If you want to only need one architecture:
31 - Win32: `build.generic.cmd VS2015 Win32 Release v140`
32 - x64: `build.generic.cmd VS2015 x64 Release v140`
34 If you want a Debug build:
35 - Win32: `build.generic.cmd VS2015 Win32 Debug v140`
36 - x64: `build.generic.cmd VS2015 x64 Debug v140`
38 ### Build with Visual Studio 2015 for msvcr120.dll
40 This capability is offered through `build.generic.cmd` using proper arguments:
44 build.generic.cmd VS2015 Win32 Release v120
46 The result of the build will be in the `bin\Release\Win32\` folder.
50 build.generic.cmd VS2015 x64 Release v120
52 The result of the build will be in the `bin\Release\x64\` folder.
54 If you want Debug builds, replace `Release` with `Debug`.
56 ### Build with Visual Studio 2017
58 `build.VS2017.cmd`, contributed by [@HaydnTrigg](https://github.com/HaydnTrigg),
59 will build both the `Release Win32` and `Release x64` versions
60 of the first VS2017 variant it finds, in this priority order :
61 Enterprise > Professional > Community
63 Alternatively, it's possible to target a specific version,
64 using appropriate script, such as `build.VS2017Enterprise.cmd` for example.