mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-22 13:00:05 +00:00
Updated Compiling (markdown)
parent
df11ce9254
commit
47fd74db76
@ -16,7 +16,7 @@ Make sure you have the following tools installed:
|
|||||||
- CMake (>=3.16)
|
- CMake (>=3.16)
|
||||||
- Compiler with C11 support (GCC >= 4.7, Clang >= 3.1, etc.)
|
- Compiler with C11 support (GCC >= 4.7, Clang >= 3.1, etc.)
|
||||||
|
|
||||||
Simple run cmake to build the makefiles with your configuration.
|
Simply run cmake to build the makefiles with your configuration.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cmake -B build -DLAIKA_PERSISTENCE=On
|
$ cmake -B build -DLAIKA_PERSISTENCE=On
|
||||||
@ -30,7 +30,7 @@ $ cmake --build build
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
Make sure you have a recent-ish version of Visual Studio installed (I used 2019).
|
Make sure you have a recent-ish version of Visual Studio installed (I used 2022).
|
||||||
|
|
||||||
Windows provides a cmake interface to generate .sln files for Visual Studio (if that's your thing) through the `Developer Command Prompt for VS`. Just generate the .sln with
|
Windows provides a cmake interface to generate .sln files for Visual Studio (if that's your thing) through the `Developer Command Prompt for VS`. Just generate the .sln with
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ Windows provides a cmake interface to generate .sln files for Visual Studio (if
|
|||||||
> cmake -B winBuild -DLAIKA_PERSISTENCE=On -DLAIKA_OBFUSCATE=On -DCMAKE_BUILD_TYPE=MinSizeRel
|
> cmake -B winBuild -DLAIKA_PERSISTENCE=On -DLAIKA_OBFUSCATE=On -DCMAKE_BUILD_TYPE=MinSizeRel
|
||||||
```
|
```
|
||||||
|
|
||||||
Now you can either open the .sln in `.\winBuild` and compile suing Visual Studio, or directly compile from the command line using:
|
Now you can either open the .sln in `.\winBuild` and compile using Visual Studio, or directly compile from the command line using:
|
||||||
|
|
||||||
```batch
|
```batch
|
||||||
> cmake --build winBuild --config MinSizeRel
|
> cmake --build winBuild --config MinSizeRel
|
||||||
|
Loading…
Reference in New Issue
Block a user