Samples.lua premake script: correction to make it work

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

orl92
Just popping in
Just popping in
Posts: 4
Joined: Sat Sep 26, 2009 02:57

Samples.lua premake script: correction to make it work

Postby orl92 » Sat Sep 26, 2009 12:07

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

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

Postby CrazyEddie » Sat Sep 26, 2009 15:34

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.

orl92
Just popping in
Just popping in
Posts: 4
Joined: Sat Sep 26, 2009 02:57

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

Postby orl92 » Sat Sep 26, 2009 20:08

CrazyEddie wrote:I'm guessing you have a newer version of premake than 3.6?


Yes i have Premake Version 3.7

Ciao

Aurelien


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests