Add a vcpkg tip thanks to Andrew Tribick
parent
3a7e6d793b
commit
38f645ff8f
|
@ -23,3 +23,4 @@ models/
|
||||||
textures/
|
textures/
|
||||||
mingw/
|
mingw/
|
||||||
content/
|
content/
|
||||||
|
CMakeSettings.json
|
||||||
|
|
|
@ -150,7 +150,7 @@ following option to cmake: -DCMAKE_INSTALL_PREFIX=/another/path.
|
||||||
|
|
||||||
## Celestia Install instructions for Windows (MSVC)
|
## Celestia Install instructions for Windows (MSVC)
|
||||||
|
|
||||||
Currently to build on Windows you need a Visual Studio 2015 or later, CMake
|
Currently to build on Windows you need Visual Studio 2015 or later, CMake
|
||||||
and vcpkg (*).
|
and vcpkg (*).
|
||||||
|
|
||||||
Install required packages:
|
Install required packages:
|
||||||
|
@ -170,6 +170,9 @@ for 64-bit versions.
|
||||||
|
|
||||||
Instead of `luajit` `lua` can be used.
|
Instead of `luajit` `lua` can be used.
|
||||||
|
|
||||||
|
Use `vcpkg list` to ensure that all packages have actually been installed.
|
||||||
|
If not, try installing them one at a time.
|
||||||
|
|
||||||
Configure and build 32-bit version:
|
Configure and build 32-bit version:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -188,8 +191,8 @@ cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scrip
|
||||||
cmake --build . -- /maxcpucount:N /nologo
|
cmake --build . -- /maxcpucount:N /nologo
|
||||||
```
|
```
|
||||||
|
|
||||||
Instead of N in /maxcpucount pass a number of CPU cores you want to use during
|
Instead of N in /maxcpucount pass the number of CPU cores you want to use during
|
||||||
a build.
|
the build.
|
||||||
|
|
||||||
This example assumes that `vcpkg` is installed into `c:/tools/vcpkg`. Update
|
This example assumes that `vcpkg` is installed into `c:/tools/vcpkg`. Update
|
||||||
the path to `vcpkg.cmake` according to your installation.
|
the path to `vcpkg.cmake` according to your installation.
|
||||||
|
|
Loading…
Reference in New Issue