Changeset View
Changeset View
Standalone View
Standalone View
build/premake/premake5/modules/gmake2/gmake2_cpp.lua
Show First 20 Lines • Show All 430 Lines • ▼ Show 20 Lines | -- | ||||
function cpp.defines(cfg, toolset) | function cpp.defines(cfg, toolset) | ||||
p.outln('DEFINES +=' .. gmake2.list(table.join(toolset.getdefines(cfg.defines, cfg), toolset.getundefines(cfg.undefines)))) | p.outln('DEFINES +=' .. gmake2.list(table.join(toolset.getdefines(cfg.defines, cfg), toolset.getundefines(cfg.undefines)))) | ||||
end | end | ||||
function cpp.includes(cfg, toolset) | function cpp.includes(cfg, toolset) | ||||
local includes = toolset.getincludedirs(cfg, cfg.includedirs, cfg.sysincludedirs) | local includes = toolset.getincludedirs(cfg, cfg.includedirs, cfg.sysincludedirs, cfg.aftersysincludedirs) | ||||
p.outln('INCLUDES +=' .. gmake2.list(includes)) | p.outln('INCLUDES +=' .. gmake2.list(includes)) | ||||
end | end | ||||
function cpp.forceInclude(cfg, toolset) | function cpp.forceInclude(cfg, toolset) | ||||
local includes = toolset.getforceincludes(cfg) | local includes = toolset.getforceincludes(cfg) | ||||
p.outln('FORCE_INCLUDE +=' .. gmake2.list(includes)) | p.outln('FORCE_INCLUDE +=' .. gmake2.list(includes)) | ||||
end | end | ||||
▲ Show 20 Lines • Show All 400 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator