Premake - A LUA build tool

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

Premake - A LUA build tool

#1 Post by Aitch »

This came in via my LUG
Premake LUA build tool

A very easy to use build system. I had a shared library project built in
minutes using this with very little faffing about. It's works on top of
the Lua scripting language, adding features necessary for a build system.

Here's a premake4.lua script for building a simple shared library:

solution "MySharedLibrary"
configurations { "Release", "Debug" }

project "mysharedlib"
kind "SharedLib"
language "C"
files { "mysharedlib/*.h", "mysharedlib/*.c" }

configuration { "linux", "gmake" }
buildoptions { "-std=gnu99" }

configuration "Debug"
defines "DEBUG"
flags "Symbols"

configuration "Release"
flags "Optimize"
http://industriousone.com/premake

http://premake.sourceforge.net/

maybe useful to some of you?

Aitch :)

Post Reply