Matched VS2010 indentation behavior (two spaces)
This commit is contained in:
parent
144c608442
commit
344e285003
@ -620,6 +620,7 @@
|
|||||||
--
|
--
|
||||||
|
|
||||||
function premake.vs2010_vcxproj(prj)
|
function premake.vs2010_vcxproj(prj)
|
||||||
|
io.indent = " "
|
||||||
vc2010.header("Build")
|
vc2010.header("Build")
|
||||||
|
|
||||||
vs2010_config(prj)
|
vs2010_config(prj)
|
||||||
@ -670,6 +671,7 @@
|
|||||||
end
|
end
|
||||||
|
|
||||||
function premake.vs2010_vcxproj_user(prj)
|
function premake.vs2010_vcxproj_user(prj)
|
||||||
|
io.indent = " "
|
||||||
vc2010.header()
|
vc2010.header()
|
||||||
for _, cfginfo in ipairs(prj.solution.vstudio_configs) do
|
for _, cfginfo in ipairs(prj.solution.vstudio_configs) do
|
||||||
local cfg = premake.getconfig(prj, cfginfo.src_buildcfg, cfginfo.src_platform)
|
local cfg = premake.getconfig(prj, cfginfo.src_buildcfg, cfginfo.src_platform)
|
||||||
|
@ -107,6 +107,8 @@
|
|||||||
--
|
--
|
||||||
|
|
||||||
function vc2010.generate_filters(prj)
|
function vc2010.generate_filters(prj)
|
||||||
|
io.indent = " "
|
||||||
|
|
||||||
cfg = premake.getconfig(prj)
|
cfg = premake.getconfig(prj)
|
||||||
local sorted = vc2010.sort_input_files(cfg.files)
|
local sorted = vc2010.sort_input_files(cfg.files)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user