You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
 
 
 

48 lines
1.1 KiB

# Bakara project
## Generate doc
To generate the documentation using doxygen, <a>install</a> it from there website for your plaform.
Then write commands :
```bash
cd dirs/to/bakara
doxygen
```
## 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
cd C:\Users\username
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 | Description |
| ----------- | ----------- | ----------- |
| exec | 0/1 | Lauch app |
| clear | 0/1 | Remove bin |
Then write commands :
```bash
cd ~/
git clone https://github.com/anulax/bakara
git submodule init
git submodule update
(export clear=1 autoexec=1)
./build.sh config=release
```