[*] I did not just make builds explode

This commit is contained in:
Reece Wilson 2021-09-30 15:55:57 +01:00
parent b8933fe806
commit 72cc7744a3

View File

@ -265,10 +265,10 @@ function JsonProcessor(info)
local isUtility = false
if (result.type:lower() == "aurora") then
local srcPath = path -- /Source is emitted by design. Use it as a prefix in <> includes; eg, #include <Source/MyLib.hpp>
local incPath = path .. "/Include"
local srcPath = path .. "/Source"
local incPath = path .. "/Include" -- /Source is emitted by design. Use it as a prefix in <> includes; eg, #include <Source/MyLib.hpp>
auProject(name, a.info.projectType, {srcPath}, {incPath, srcPath}, a.info.out, path)
auProject(name, a.info.projectType, {srcPath}, {incPath, path}, a.info.out, path)
elseif (result.type:lower() == "lazy_free") then
auProject(name, a.info.projectType, {path .. "/*.*"}, {path .. "/"}, a.info.out, path)