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 Wed 01 Jul 2015, 23:37
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 Posts_count_1  
Author Message

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

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

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"



maybe useful to some of you?

Aitch Smile
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot attach files in this forum
You can download files in this forum

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