Closed SasLuca closed 4 years ago
Developers should have the option to not include a dependency and functions dependent on that dependency should just be #ifdef-ed out.
#ifdef
This should probably something like this:
#define RF_DONT_USE_X //Disables library X #include "rayfork_renderer.h"
When a user defines RF_DONT_USE_X, library X should no longer be loaded and all functions that depend on it should be removed using #ifdef.
RF_DONT_USE_X
X
I decided against this for the moment as it doesn't seem as useful for now.
Developers should have the option to not include a dependency and functions dependent on that dependency should just be
#ifdef
-ed out.This should probably something like this:
When a user defines
RF_DONT_USE_X
, libraryX
should no longer be loaded and all functions that depend on it should be removed using#ifdef
.