Skip to content
Snippets Groups Projects
Commit c252883d authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Added info on VS command line usage.

parent 00129fc9
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ $ brew install ninja
Run CMake with the ninja-generator:
```bash
$ cmake ../source/dir -GNinja
$ cmake ../source/dir -G Ninja
$ ninja
```
......
......@@ -34,8 +34,7 @@ When you want to start over with a new configuration simply delete the build-dir
::: {.note}
### <i class="far fa-exclamation-triangle"></i> Supported Visual Studio Generators
- `Visual Studio 15 2017 Win64` (preferred)
- `Visual Studio 14 2015 Win64`
- `Visual Studio 15 2017 Win64`
:::
:::
......@@ -81,6 +80,22 @@ CMake tries to autodetect your compiler so in most cases this should be enough:
$ cmake ../ogs
```
::: {.note}
#### <i class="far fa-check"></i> Pro Tip: Use the Visual Studio command line
In the Start menu under *Visual Studio 2017* you find a application link to *x64 Native Tools Command Prompt for VS 2017*. This starts a command line setup for Visual Studio 64-bit. When you run CMake commands in this command line the correct generator will be picked up automatically:
```bash
cmake ../ogs
```
This even allows for using [Ninja]({{< ref "build-with-ninja.pandoc" >}}) as the build tool which can effectively utilize all CPU cores
#### <i class="far fa-check"></i> Pro Tip 2: Use a better terminal application
Use [ConEmu](https://conemu.github.io) for a better terminal experience. It automatically detects all installed terminal applications (e.g. regular Windows cmd.exe, Git shell, VS command lines, ...) and feautures multiple terminals inside tabs.
:::
## Option: Configure with a visual tool
::: {.win}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment