SFML community forums

Bindings - other languages => D => Topic started by: Jebbs on February 11, 2015, 08:11:02 pm

Title: Shared/static library naming advice
Post by: Jebbs on February 11, 2015, 08:11:02 pm
Hey all,

I'm gearing up for the next release of DSFML, and there was one issue that I can't really decide on my own as I am not sure what is best. I wanted to get some advice from the community before I made a final choice.

My dilemma is that the naming conventions of the libraries needed to get DSFML going are a little wonky. If you don't use DUB (http://code.dlang.org/about), then you have to link to two sets of libraries to get everything building correctly. The back end (C/C++) shared libraries use dsfml-xxx, and the front end (D wrapper code) uses dsfml-xxx-2. This has caused confusion for more than a few people.

I have thought of a couple of solutions, but I am not terribly happy with any of them.

So far I have:


I know this is a weird question to ask, but I don't really get a lot of feedback on this kind of thing when I try to discus it with the users on github.

People that don't use D are welcome to chime in as well. :P
Title: AW: Shared/static library naming advice
Post by: eXpl0it3r on February 11, 2015, 10:27:21 pm
What is "the backend"?
Title: Re: Shared/static library naming advice
Post by: Jebbs on February 11, 2015, 10:47:30 pm
It's basically my own version of CSFML.
Title: Re: Shared/static library naming advice
Post by: eXpl0it3r on February 11, 2015, 10:58:41 pm
So why not give it a different name than dsfml (or csfml)? ;)
Title: Re: Shared/static library naming advice
Post by: Jebbs on February 12, 2015, 01:58:48 am
Because I thought that it would be cool to have all the shared libraries (the ones people could see) be called dsfml :P