27 lines
1.0 KiB
Markdown
27 lines
1.0 KiB
Markdown
These are very similar to the instructions from https://git.indoodle.com/jason/bellatui
|
|
|
|
Summary:
|
|
- we keep our repo limited to our .cpp and Makefile and .vcxproj
|
|
- we git clone thrid party repos and build using cli tools
|
|
- we include the headers using "../DPP/" "../bella_engine_sdk/" etc. This relative path avoids having to install systemwide libs when possible and these third party libs can get reused by other poomer apps
|
|
- we maintain a similar dir structure for all poomer apps as they are learning apps
|
|
|
|
|
|
```
|
|
mkdir workdir
|
|
cd workdir
|
|
git clone https://github.com/brainboxdotcc/DPP.git
|
|
cd DPP
|
|
cmake -B ./build
|
|
cmake --build ./build -j4
|
|
cd ..
|
|
git clone https://git.indoodle.com/oomer/poomer-discord-helloworld.git
|
|
cd poomer-discord-helloworld
|
|
git switch oomer/suggestions
|
|
```
|
|
For a prototype app we can just dump the stb headers right into the helloworld dir for simplicity
|
|
```
|
|
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
|
|
curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h
|
|
make all -j4
|
|
``` |