Changeset View
Changeset View
Standalone View
Standalone View
build/premake/premake5/modules/gmake/gmake_cpp.lua
Show First 20 Lines • Show All 515 Lines • ▼ Show 20 Lines | function make.forceInclude(cfg, toolset) | ||||
if not cfg.flags.NoPCH and cfg.pchheader then | if not cfg.flags.NoPCH and cfg.pchheader then | ||||
table.insert(includes, 1, "-include $(OBJDIR)/$(notdir $(PCH))") | table.insert(includes, 1, "-include $(OBJDIR)/$(notdir $(PCH))") | ||||
end | end | ||||
_x(' FORCE_INCLUDE +=%s', make.list(includes)) | _x(' FORCE_INCLUDE +=%s', make.list(includes)) | ||||
end | end | ||||
function make.includes(cfg, toolset) | function make.includes(cfg, toolset) | ||||
local includes = toolset.getincludedirs(cfg, cfg.includedirs, cfg.sysincludedirs) | local includes = toolset.getincludedirs(cfg, cfg.includedirs, cfg.sysincludedirs, cfg.aftersysincludedirs) | ||||
_p(' INCLUDES +=%s', make.list(includes)) | _p(' INCLUDES +=%s', make.list(includes)) | ||||
end | end | ||||
function make.ldDeps(cfg, toolset) | function make.ldDeps(cfg, toolset) | ||||
local deps = config.getlinks(cfg, "siblings", "fullpath") | local deps = config.getlinks(cfg, "siblings", "fullpath") | ||||
_p(' LDDEPS +=%s', make.list(p.esc(deps))) | _p(' LDDEPS +=%s', make.list(p.esc(deps))) | ||||
end | end | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator