1
SFML projects / Re: Premake Build System for SFML
« on: May 05, 2013, 09:53:07 pm »
Sorry for bringing back this old thread, but I also wanted a Premake system for SFML2 so I started one today:
https://gist.github.com/nickgravelyn/5521949
It's not going to work for shared libraries on Linux or OS X due to not having the right links set up (I don't have Linux and haven't worked on it on my Mac yet), but it works for both static and dynamic libraries for Win32 x86 and x64. Should be pretty easy to fix up Linux and OS X builds.
Hopefully this helps out others looking to use Premake to build SFML as part of their projects.
https://gist.github.com/nickgravelyn/5521949
It's not going to work for shared libraries on Linux or OS X due to not having the right links set up (I don't have Linux and haven't worked on it on my Mac yet), but it works for both static and dynamic libraries for Win32 x86 and x64. Should be pretty easy to fix up Linux and OS X builds.
Hopefully this helps out others looking to use Premake to build SFML as part of their projects.