SFML community forums

General => Feature requests => Topic started by: dwarfman78 on February 12, 2015, 10:32:23 pm

Title: Give the possibility to configure/compile specified modules with cmake
Post by: dwarfman78 on February 12, 2015, 10:32:23 pm
Hi,

Following those instructions : http://www.sfml-dev.org/contribute.php#requesting-features

and given this topic : http://en.sfml-dev.org/forums/index.php?topic=17489

I'm writing this request to allow the user the possibility to choose within cmake which modules to configure for compilation.

This feature is usefull if one is wanting to use a submodule on a targeted system that is not allowing another module to be compiled on/for.

In my case, i am using sfml-network (and its dependency sfml-system) only, indeed the target system is a openwrt router which cannot run any X11/opengl/whatever is needed by others sfml modules.

thanks for the feedback.
Title: Re: Give the possibility to configure/compile specified modules with cmake
Post by: Laurent on February 12, 2015, 10:48:31 pm
Since it was already discussed in a forum thread I thought you would open a github task directly.

Anyway, now that you've created this feature request, let others discuss it :P
Title: Re: Give the possibility to configure/compile specified modules with cmake
Post by: dwarfman78 on February 13, 2015, 08:27:14 am
yeah i didn't want to be rogue.

However here it is : https://github.com/SFML/SFML/issues/798
Title: Re: Give the possibility to configure/compile specified modules with cmake
Post by: Mario on February 21, 2015, 02:50:46 pm
This is ready for testing, please provide feedback in this PR: https://github.com/SFML/SFML/pull/800
Title: Re: Give the possibility to configure/compile specified modules with cmake
Post by: dwarfman78 on March 26, 2015, 09:32:39 pm
I tested the feature with -D option on cmake cli, it worked fine on my use case (no graphics, no window, no audio)