I’m just posting this to provide my progress on redoing SDL’s meta-build
system. For a more detailed discussion, check out my near-weekly blog:
Thus far, I have successfully reproduced the SDL Xcode (4) and Visual
Studio (2008, 2010, and 2012) workspace/solution files, using premake.
Premake automatically handles SDL’s nontrivial dependencies using a simple
Some newer features of the generate workspace/solutions over the older ones:
-Dependencies are more flexible; a new project will be able to be generated
with different dependencies and SDL should still work properly (even on
-Both the Xcode and the Visual Studio projects should now successfully copy
all dependent libraries and resource files to the destination directories,
allowing you to directly execute them after building to ensure they are
working (test suites)
-Unified, consolidated solution: everything that drives these projects is
powered through a single generated premake lua file, rather than having
many files that have to be maintained
There’s plenty to do so far, including cleaning up the syntax for the
dependency tree, generating a config header file like autotools does to
properly handle code-level dependencies, and beginning to look into doing
some sort of metaproject feature that allows someone to modify the settings
of a project and have it propagate back to the meta-build system.
You pull my progress from my SDL hg fork at bitbucket:
It includes a detailed changelog and a list of things I need to do yet,
which is constantly changing.
I look forward to any feedback the SDL community has on my progress.