mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-24 05:31:03 +00:00
Updated Compiling (markdown)
parent
fa3d2d8ebe
commit
f0c343a682
@ -12,6 +12,11 @@ Laika uses CMake as it's build system and provides several definitions for your
|
|||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
|
Make sure you have the following libraries and tools installed:
|
||||||
|
|
||||||
|
CMake (>=3.16)
|
||||||
|
Compiler with C11 support (GCC >= 4.7, Clang >= 3.1, etc.)
|
||||||
|
|
||||||
Simple run cmake to build the makefiles with your configuration.
|
Simple run cmake to build the makefiles with your configuration.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@ -26,7 +31,9 @@ $ cmake --build build
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
Windows also provides a cmake interface to generate .sln files for Visual Studio (if that's your thing). Just generate the .sln with
|
Make sure you have a recent-ish version of Visual Studio installed (I used 2019).
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
```batch
|
```batch
|
||||||
> 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
|
||||||
|
Loading…
Reference in New Issue
Block a user