diff options
author | Oliver Schneider <oliver@assarbad.net> | 2017-03-22 01:24:08 +0300 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2017-03-22 01:24:08 +0300 |
commit | 59e79356166589c1f0164afe105507addae67cfb (patch) | |
tree | 9dfbd4feb1915ef8f240f74a52728bfbab4d1ed0 /src/actions/vstudio/vs2010_vcxproj.lua | |
parent | b8625c05bc96cc03d1d940aa7a7682029473f228 (diff) |
Introducing os.str2uuid() as possibility to convert a string deterministically into a (pseudo-)UUID using SHA-3 (256-bit) aka Keccak
Replaced all leading spaces or mixed spaces/tabs with tabs (by rule 1 tab = 4 spaces)
Prepared premake4.lua for this project to generate XP projects and VS2017 projects
--HG--
branch : WDS-build
Diffstat (limited to 'src/actions/vstudio/vs2010_vcxproj.lua')
-rw-r--r-- | src/actions/vstudio/vs2010_vcxproj.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/actions/vstudio/vs2010_vcxproj.lua b/src/actions/vstudio/vs2010_vcxproj.lua index d6f9b7b..993bd8f 100644 --- a/src/actions/vstudio/vs2010_vcxproj.lua +++ b/src/actions/vstudio/vs2010_vcxproj.lua @@ -129,7 +129,7 @@ if cfg.kind == "SharedLib" then local ignore = (cfg.flags.NoImportLib ~= nil) - _p(2,'<IgnoreImportLibrary>%s</IgnoreImportLibrary>', tostring(ignore)) + _p(2,'<IgnoreImportLibrary>%s</IgnoreImportLibrary>', tostring(ignore)) end if cfg.kind ~= "StaticLib" then @@ -157,7 +157,7 @@ end local function precompiled_header(cfg) - if not cfg.flags.NoPCH and cfg.pchheader then + if not cfg.flags.NoPCH and cfg.pchheader then _p(3,'<PrecompiledHeader>Use</PrecompiledHeader>') _p(3,'<PrecompiledHeaderFile>%s</PrecompiledHeaderFile>', cfg.pchheader) else @@ -229,7 +229,7 @@ end local function floating_point(cfg) - if cfg.flags.FloatFast then + if cfg.flags.FloatFast then _p(3,'<FloatingPointModel>Fast</FloatingPointModel>') elseif cfg.flags.FloatStrict and not cfg.flags.Managed then _p(3,'<FloatingPointModel>Strict</FloatingPointModel>') @@ -339,19 +339,19 @@ local function event_hooks(cfg) if #cfg.postbuildcommands> 0 then - _p(2,'<PostBuildEvent>') + _p(2,'<PostBuildEvent>') _p(3,'<Command>%s</Command>',premake.esc(table.implode(cfg.postbuildcommands, "", "", "\r\n"))) _p(2,'</PostBuildEvent>') end if #cfg.prebuildcommands> 0 then - _p(2,'<PreBuildEvent>') + _p(2,'<PreBuildEvent>') _p(3,'<Command>%s</Command>',premake.esc(table.implode(cfg.prebuildcommands, "", "", "\r\n"))) _p(2,'</PreBuildEvent>') end if #cfg.prelinkcommands> 0 then - _p(2,'<PreLinkEvent>') + _p(2,'<PreLinkEvent>') _p(3,'<Command>%s</Command>',premake.esc(table.implode(cfg.prelinkcommands, "", "", "\r\n"))) _p(2,'</PreLinkEvent>') end @@ -372,7 +372,7 @@ end local function item_def_lib(cfg) - -- The Xbox360 project files are stored in another place in the project file. + -- The Xbox360 project files are stored in another place in the project file. if cfg.kind == 'StaticLib' and cfg.platform ~= "Xbox360" then _p(1,'<Lib>') _p(2,'<OutputFile>$(OutDir)%s</OutputFile>',cfg.buildtarget.name) |