diff --git a/modules/codelite/codelite_project.lua b/modules/codelite/codelite_project.lua index ba7f59d1..d4112343 100755 --- a/modules/codelite/codelite_project.lua +++ b/modules/codelite/codelite_project.lua @@ -388,19 +388,19 @@ local dependencies = {} local makefilerules = {} local function addrule(dependencies, makefilerules, config, filename) - if #config.buildcommands == 0 or #config.buildOutputs == 0 then + if #config.buildcommands == 0 or #config.buildoutputs == 0 then return false end - local inputs = table.implode(project.getrelative(cfg.project, config.buildInputs), "", "", " ") + local inputs = table.implode(project.getrelative(cfg.project, config.buildinputs), "", "", " ") if filename ~= "" and inputs ~= "" then filename = filename .. " " end - local outputs = project.getrelative(cfg.project, config.buildOutputs[1]) + local outputs = project.getrelative(cfg.project, config.buildoutputs[1]) local buildmessage = "" if config.buildmessage then buildmessage = "\t@{ECHO} " .. config.buildmessage .. "\n" end - local commands = table.implode(config.buildCommands,"\t","\n","") + local commands = table.implode(config.buildcommands,"\t","\n","") table.insert(makefilerules, os.translateCommandsAndPaths(outputs .. ": " .. filename .. inputs .. "\n" .. buildmessage .. commands, cfg.project.basedir, cfg.project.location)) table.insertflat(dependencies, outputs) return true diff --git a/modules/vstudio/vs2010_vcxproj.lua b/modules/vstudio/vs2010_vcxproj.lua index c5a65ce3..d38ccdb3 100644 --- a/modules/vstudio/vs2010_vcxproj.lua +++ b/modules/vstudio/vs2010_vcxproj.lua @@ -430,7 +430,7 @@ end function m.buildStep(cfg) - if #cfg.buildCommands > 0 or #cfg.buildOutputs > 0 or #cfg.buildInputs > 0 or cfg.buildMessage then + if #cfg.buildcommands > 0 or #cfg.buildoutputs > 0 or #cfg.buildinputs > 0 or cfg.buildmessage then p.push('') p.callArray(m.elements.buildStep, cfg)