mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Add check for use of gmake action
Since 7d6a0c695a we use gmake2 instead of gmake, add a check in case
someone calls premake without the wrapper script update-workspace
telling them to use gmake2 instead as support for gmake was removed.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -27,6 +27,12 @@ newoption { trigger = "bindir", description = "Directory for executables (typica
|
||||
newoption { trigger = "datadir", description = "Directory for data files (typically '/usr/share/games/0ad'); default is ../data/ relative to executable" }
|
||||
newoption { trigger = "libdir", description = "Directory for libraries (typically '/usr/lib/games/0ad'); default is ./ relative to executable" }
|
||||
|
||||
if _ACTION == "gmake" then
|
||||
print("Premake action 'gmake' is no longer supported by pyrogenesis, use 'gmake2'")
|
||||
print("Example: 'premake5 --file=build/premake/premake5.lua gmake2'")
|
||||
os.exit(1)
|
||||
end
|
||||
|
||||
-- Root directory of project checkout relative to this .lua file
|
||||
rootdir = "../.."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user