Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TB_RENDERER_GL seems not used #61

Closed
slobodin opened this issue Feb 12, 2016 · 3 comments
Closed

TB_RENDERER_GL seems not used #61

slobodin opened this issue Feb 12, 2016 · 3 comments

Comments

@slobodin
Copy link

I want to build minimal version of turbobadger, e.g. not using default renderer etc. Is this possible now? According to CMakeLists.txt from src/tb, all the source file are go to the build. Do you plan to support modular building?

@fruxo
Copy link
Owner

fruxo commented Feb 12, 2016

By specifying the include paths correctly, you can have turbobadger include your own tb_config.h where you specify what you want. (It's included as < tb_config.h >, not "tb_config.h" so it can be overridden elsewhere).
There are some work in progress (by others) on turning all configuration into cmake options. (see f.ex #55)

Only the selected features will be compiled even though all sources are added.

@slobodin
Copy link
Author

Nevertheless, I searched the code and can't find TB_RENDERER_GL except the tb_config.h, please take a look.

@fruxo fruxo closed this as completed in d1aff4a Feb 13, 2016
@fruxo
Copy link
Owner

fruxo commented Feb 13, 2016

Indeed. ifdefs for that one was missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants