Major change to aurora type projects.

Too many projects were becoming problematic in how they manage public and private headers where the two share the same fundamental structure
This commit is contained in:
Reece Wilson 2021-09-30 15:49:09 +01:00
parent dd109c82cb
commit b8933fe806

View File

@ -265,10 +265,10 @@ function JsonProcessor(info)
local isUtility = false local isUtility = false
if (result.type:lower() == "aurora") then if (result.type:lower() == "aurora") then
local srcPath = path .. "/Source" 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 incPath = path .. "/Include"
auProject(name, a.info.projectType, {srcPath}, {srcPath, incPath}, a.info.out, path) auProject(name, a.info.projectType, {srcPath}, {incPath, srcPath}, a.info.out, path)
elseif (result.type:lower() == "lazy_free") then elseif (result.type:lower() == "lazy_free") then
auProject(name, a.info.projectType, {path .. "/*.*"}, {path .. "/"}, a.info.out, path) auProject(name, a.info.projectType, {path .. "/*.*"}, {path .. "/"}, a.info.out, path)