Changed env variables names in the build script

dev
anulax1225 ago%!(EXTRA string=1 year)
parent c74324e7b5
commit d0ee58a3ad
  1. 15
      README.md
  2. 12
      build.sh

@ -1,7 +1,5 @@
# Bakara project
## Resume
## Generate doc
To generate the documentation using doxygen, <a>install</a> it from there website for your plaform.
Then write commands :
@ -34,10 +32,10 @@ Or use visual studio 2022 to build your project.
---
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 |
| Name | Value | Description |
| ----------- | ----------- | ----------- |
| exec | 0/1 | Lauch app |
| clear | 0/1 | Remove bin |
Then write commands :
```bash
@ -45,9 +43,6 @@ Then write commands :
git clone https://github.com/anulax/bakara
git submodule init
git submodule update
(export clearbin=1 autoexec=1)
(export clear=1 autoexec=1)
./build.sh config=release
```
## Getting started
(to do)

@ -3,14 +3,14 @@ echo ==================
echo [BUILDING PROJECT]
echo ==================
if [ -z ${clearbin} ]; then
clearbin=0
if [ -z ${clear} ]; then
clear=0
fi
if [ -z ${autoexec} ]; then
autoexec=0
if [ -z ${exec} ]; then
exec=0
fi
if [ 1 -eq ${clearbin} ]; then
if [ 1 -eq ${clear} ]; then
echo Clearing bin/bin-int dirs
rm -rf bin bin-int
else
@ -25,7 +25,7 @@ if [ $? -eq 0 ]; then
echo [FINISHED BUILD]
echo ================
if [ 1 -eq ${autoexec} ]; then
if [ 1 -eq ${exec} ]; then
config=$1
if [ -z "$config" ]; then
config="config=debug"

Loading…
Cancel
Save