Changeset View
Changeset View
Standalone View
Standalone View
build/premake/premake5/src/tools/clang.lua
Show First 20 Lines • Show All 163 Lines • ▼ Show 20 Lines | |||||
-- The project configuration. | -- The project configuration. | ||||
-- @param dirs | -- @param dirs | ||||
-- An array of include file search directories; as an array of | -- An array of include file search directories; as an array of | ||||
-- string values. | -- string values. | ||||
-- @return | -- @return | ||||
-- An array of symbols with the appropriate flag decorations. | -- An array of symbols with the appropriate flag decorations. | ||||
-- | -- | ||||
function clang.getincludedirs(cfg, dirs, sysdirs) | function clang.getincludedirs(cfg, dirs, sysdirs, aftersysdirs) | ||||
-- Just pass through to GCC for now | -- Just pass through to GCC for now | ||||
local flags = gcc.getincludedirs(cfg, dirs, sysdirs) | local flags = gcc.getincludedirs(cfg, dirs, sysdirs, aftersysdirs) | ||||
return flags | return flags | ||||
end | end | ||||
clang.getrunpathdirs = gcc.getrunpathdirs | clang.getrunpathdirs = gcc.getrunpathdirs | ||||
-- | -- | ||||
-- get the right output flag. | -- get the right output flag. | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator