Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Give the possibility to configure/compile specified modules with cmake  (Read 3109 times)

0 Members and 1 Guest are viewing this topic.

dwarfman78

  • Full Member
  • ***
  • Posts: 228
  • I'm bietzsche, Nietzsche !
    • MSN Messenger - cd4c@hotmail.com
    • View Profile
    • Email
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 »
@dwarfman78
github.com/dwarfman78

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
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 :P
Laurent Gomila - SFML developer

dwarfman78

  • Full Member
  • ***
  • Posts: 228
  • I'm bietzsche, Nietzsche !
    • MSN Messenger - cd4c@hotmail.com
    • View Profile
    • Email
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
@dwarfman78
github.com/dwarfman78

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
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

dwarfman78

  • Full Member
  • ***
  • Posts: 228
  • I'm bietzsche, Nietzsche !
    • MSN Messenger - cd4c@hotmail.com
    • View Profile
    • Email
I tested the feature with -D option on cmake cli, it worked fine on my use case (no graphics, no window, no audio)
@dwarfman78
github.com/dwarfman78

 

anything