Page 1 of 1

Premake relative path issue

Posted: Sun Aug 21, 2011 19:51
by caburfoot
Tried to check if this is a dup, but couldn't find anything about it. If one modifies config.lua to set a path (I was setting the Irrlichtpath) that is relative (../../../../irrlicht-1.7.2) instead of absolute, the generated projects have buggy paths. The output Include was ../../../../........irrlicht-1.7.2/include, and the output lib path was ../../../../........irrlicht-1.7.2/lib/win32-visualstudio

Had to fix these by hand

FYI

Re: Premake relative path issue

Posted: Wed Aug 24, 2011 20:52
by Kulik
Are you sure you are not just using single backslashes in Lua? They work as escape symbols so \. ends up being .