|
|
|
@ -2,8 +2,44 @@ |
|
|
|
|
|
|
|
|
|
## Resume |
|
|
|
|
|
|
|
|
|
## Generate doc |
|
|
|
|
|
|
|
|
|
## Prerequiste |
|
|
|
|
* A video/graphics card that supports OpenGL. |
|
|
|
|
### Windows |
|
|
|
|
* C++ ms-compiler for Windows |
|
|
|
|
### Linux |
|
|
|
|
* GCC compiler suite. |
|
|
|
|
|
|
|
|
|
## Build |
|
|
|
|
### Windows |
|
|
|
|
On windows, write commands : |
|
|
|
|
```batch |
|
|
|
|
git clone https://github.com/anulax/bakara |
|
|
|
|
git submodule init |
|
|
|
|
git submodule update |
|
|
|
|
.\vendor\premake5 vs2022 |
|
|
|
|
dotnet build |
|
|
|
|
dotnet run |
|
|
|
|
``` |
|
|
|
|
Or use visual studio 2022 to build your project. |
|
|
|
|
### Linux |
|
|
|
|
--- |
|
|
|
|
On linux (if you don't have premake5, install it with your distro's packet manager). You have two env variable to change build proccess : |
|
|
|
|
|
|
|
|
|
| Name | Value | |
|
|
|
|
| ----------- | ----------- | |
|
|
|
|
| autoexec | 0/1 | |
|
|
|
|
| clearbin | 0/1 | |
|
|
|
|
|
|
|
|
|
Then write commands : |
|
|
|
|
```bash |
|
|
|
|
git clone https://github.com/anulax/bakara |
|
|
|
|
git submodule init |
|
|
|
|
git submodule update |
|
|
|
|
(export clearbin=1 autoexec=1) |
|
|
|
|
./build.sh config=release |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
## Generate documentation |
|
|
|
|
## Getting started |
|
|
|
|
(to do) |