I've started work on this in premake-dev, but with a different implementation. The function is called premake.api.register(), and you can see the usage in base/api.lua. Not all functions have been ported yet.
2012-05-14 06:56:13 PDT in Premake
Rejecting this patch because a) it only works for VS2010, and b) it doesn't work with files outside the project folder: a file with a relative path of ../../common/common.cpp would get placed outside of the designated obj dir.
2012-04-24 11:30:04 PDT in Premake
Applied in https://bitbucket.org/premake/premake-stable/changeset/293ffc3caa75.
2012-04-22 10:04:22 PDT in Premake
Applied in https://bitbucket.org/premake/premake-stable/changeset/0b1b435a5b17.
2012-04-22 09:59:52 PDT in Premake
This is now fixed in the vs2008ng action in premake-dev. I now carry absolute paths all the way through, and start the source tree at the first non-empty folder. In addition to allowing the tree to start above the actual project directory, it also has the nice side-effect of trimming off any empty folders from the top source tree.
2012-04-22 09:32:56 PDT in Premake
This doesn't work for me. %(RelativeDir) isn't listed as a valid VS macro, and when run in VS2008 my object file path ends being something like : obj\Debug\%(RelativeDir)\hello.obj.
2012-04-22 09:17:01 PDT in Premake
Pull requested merged in https://bitbucket.org/premake/premake-dev/changeset/0d4c07a0da6d.
2012-04-17 11:35:04 PDT in Premake
Pull request applied in https://bitbucket.org/premake/premake-dev/changeset/1c734a877f8c.
2012-04-16 15:19:52 PDT in Premake
Can you provide an example of what you were trying to do, what you expected to happen, and what actually happened?.
2012-04-06 05:10:32 PDT in Premake
> What other tools are referred? How about Visual Studio? Should it be like this? vstudiocompilesettings { "<FloatingPointModel>Strict</FloatingPointModel>" } If it is, that means that each element name needs to be parsed out to see if has been overridden. And it seems error-prone. Would it better like this? vstudiocompilesettings { FloatingPointModel =...
2012-04-03 10:20:39 PDT in Premake