Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 05:57
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Premake - A LUA build tool
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Wed 21 Oct 2009, 09:06    Post subject:  Premake - A LUA build tool  

This came in via my LUG

Quote:
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 Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0384s ][ Queries: 11 (0.0063s) ][ GZIP on ]