Skip to content

Commit

Permalink
Disable Generate project for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Jul 30, 2024
1 parent 8e75c1c commit 469f78a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Source/Generate/Generate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ local currentProject = Solution.Projects.Current
local dependencies = { }
Solution.Util.CreateProject("Generate", "StaticLib", currentProject.BinDir, dependencies)

local solutionType = BuildSettings:Get("Solution Type")
postbuildcommands
{
"cd " .. currentProject.RootDir,
"premake5 " .. solutionType
}
-- TODO: This needs to be fixed to work properly on Linux. Dirty fix to make runner build properly.
if os.target() == "windows" then
local solutionType = BuildSettings:Get("Solution Type")
postbuildcommands
{
"cd " .. currentProject.RootDir,
"premake5 " .. solutionType
}
end

0 comments on commit 469f78a

Please sign in to comment.