Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
Feature requests
»
Give the possibility to configure/compile specified modules with cmake
Print
Pages: [
1
]
Author
Topic: Give the possibility to configure/compile specified modules with cmake (Read 3794 times)
0 Members and 2 Guests are viewing this topic.
dwarfman78
Full Member
Posts: 228
I'm bietzsche, Nietzsche !
Give the possibility to configure/compile specified modules with cmake
«
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.
«
Last Edit: February 12, 2015, 10:37:16 pm by dwarfman78
»
Logged
@dwarfman78
github.com/dwarfman78
Laurent
Administrator
Hero Member
Posts: 32498
Re: Give the possibility to configure/compile specified modules with cmake
«
Reply #1 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
Logged
Laurent Gomila - SFML developer
dwarfman78
Full Member
Posts: 228
I'm bietzsche, Nietzsche !
Re: Give the possibility to configure/compile specified modules with cmake
«
Reply #2 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
Logged
@dwarfman78
github.com/dwarfman78
Mario
SFML Team
Hero Member
Posts: 879
Re: Give the possibility to configure/compile specified modules with cmake
«
Reply #3 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
Logged
dwarfman78
Full Member
Posts: 228
I'm bietzsche, Nietzsche !
Re: Give the possibility to configure/compile specified modules with cmake
«
Reply #4 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)
Logged
@dwarfman78
github.com/dwarfman78
Print
Pages: [
1
]
SFML community forums
»
General
»
Feature requests
»
Give the possibility to configure/compile specified modules with cmake