franky replaces the super macro hack by a generated config file for the renderer library.
it makes it less flexible to swap the build script but since cmake is versatile enough for multiple platform, it should be alright