https://github.com/floooh/oryol-tbui
Integrate TurbobadgerUI with Oryol
https://github.com/floooh/oryol-tbui
fips oryol turbobadger
Last synced: 3 months ago
JSON representation
Integrate TurbobadgerUI with Oryol
- Host: GitHub
- URL: https://github.com/floooh/oryol-tbui
- Owner: floooh
- License: mit
- Created: 2016-04-25T17:42:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-10T10:02:41.000Z (over 6 years ago)
- Last Synced: 2025-04-12T03:11:21.613Z (9 months ago)
- Topics: fips, oryol, turbobadger
- Language: C++
- Size: 28.3 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oryol-tbui
TurboBadger-UI wrapper module for Oryol (https://github.com/fruxo/turbobadger)
Oryol sample: https://floooh.github.com/oryol-samples/wasm/TurboBadgerDemo.html
### How to integrate into your Oryol project:
First, add a new import to the fips.yml file of your project:
```yaml
imports:
oryol-tbui:
git: https://github.com/floooh/oryol-tbui.git
```
Next, add a new dependency 'TBUI' to you app's CMakeLists.txt file:
```cmake
fips_begin_app(MyApp windowed)
...
fips_deps(TBUI)
fips_end_app()
```
Finally, as a special case, you need to add a global header search path
to your toplevel CMakeLists.txt file, this is necessary because TurboBadger
requires a customized config header which needs to show up before
TurboBadger's own config header file, simply add the following
to you toplevel CMakeLists.txt file, before the fips\_setup():
```cmake
include_directories(../oryol-tbui/src/TBUI/tb)
```
After that, run 'fips gen' as usual to fetch the new dependencies and rebuild
the build files:
```bash
> ./fips gen
```