Skip to content

floooh/oryol-tbui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

imports:
    oryol-tbui:
        git: https://github.com/floooh/oryol-tbui.git

Next, add a new dependency 'TBUI' to you app's CMakeLists.txt file:

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():

include_directories(../oryol-tbui/src/TBUI/tb)

After that, run 'fips gen' as usual to fetch the new dependencies and rebuild the build files:

> ./fips gen

About

Integrate TurbobadgerUI with Oryol

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published