Disable PremakeProject for non-Windows OSes
This commit is contained in:
parent
f363420ebe
commit
885804e58a
|
|
@ -16,8 +16,7 @@ Configurations = "Debug,Release" -- "Debug,Release,ReleaseWithDebug"
|
|||
-- Setup additionnals install directories, separated by a semi-colon ; (library binaries will be copied there)
|
||||
--InstallDir = "/usr/local/lib64"
|
||||
|
||||
-- Adds a project which will recall premake with its original arguments when built
|
||||
PremakeProject = true
|
||||
-- Adds a project which will recall premake with its original arguments when built (only works on Windows for now)
|
||||
|
||||
-- Excludes client-only modules/tools/examples
|
||||
ServerMode = false
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ function NazaraBuild:Execute()
|
|||
language("C++")
|
||||
location(_ACTION)
|
||||
|
||||
if (self.Config["PremakeProject"]) then
|
||||
if (self.Config["PremakeProject"] && os.is("windows")) then
|
||||
local commandLine = "premake5.exe " .. table.concat(_ARGV, ' ')
|
||||
project("_PremakeProject")
|
||||
kind("Utility")
|
||||
|
|
|
|||
Loading…
Reference in New Issue