af7b674265
As discussed numerous times, get rid of the submodule approach for core modules and just included the sources directly in the main repository. I have no idea how this will play with existing working copies. It might be necessary to [manually clear out the existing submodules](http://stackoverflow.com/questions/1260748) first.
21 lines
527 B
Lua
21 lines
527 B
Lua
newaction
|
|
{
|
|
trigger = "raw",
|
|
shortname = "Raw output",
|
|
description = "Generate raw representation of Premake structures",
|
|
|
|
valid_kinds = { "ConsoleApp", "WindowedApp", "SharedLib", "StaticLib", "Makefile", "None", "Utility" },
|
|
valid_languages = { "C", "C++" },
|
|
valid_tools = { cc = { "clang" } },
|
|
|
|
onsolution = function(sln)
|
|
require('raw')
|
|
|
|
premake.generate(sln, ".raw", premake.raw.solution)
|
|
end,
|
|
}
|
|
|
|
return function(cfg)
|
|
return (_ACTION == "raw")
|
|
end
|