Page 1 of 1

Samples.lua premake script: correction to make it work

Posted: Sat Sep 26, 2009 12:07
by orl92
Hi,

while creating the CEGUI MSVC 2008 Samples solutions with premake (both latest svn and current stable 0.7 sources) i noted a little problem.

In fact, to make the script work, i just had to remove the lua extensions at the 'require()' calls of lines 7 and 8 of samples.lua script.


Before :
line 7 : require("helpers.lua")
line 8 : require("config.lua")

The working script is now like :
line 7 : require("helpers")
line 8 : require("config")

Hope this helps!!

Aurelien

Re: Samples.lua premake script: correction to make it work

Posted: Sat Sep 26, 2009 15:34
by CrazyEddie
Hi,

Thanks for reporting this - it may be related to something we already know about (maybe not!). I'm guessing you have a newer version of premake than 3.6?

I'll test the change on a couple of versions, and so long as it's ok I'll commit it tomorrow :)

CE.

Re: Samples.lua premake script: correction to make it work

Posted: Sat Sep 26, 2009 20:08
by orl92
CrazyEddie wrote:I'm guessing you have a newer version of premake than 3.6?


Yes i have Premake Version 3.7

Ciao

Aurelien