Merged in tbasnoopy/premake-dev/utility support for VS (pull request #107)

add utility support for VS
This commit is contained in:
Jason Perkins 2014-03-02 08:17:22 -05:00
commit 9cd961b1d8
4 changed files with 19 additions and 1 deletions

View File

@ -40,7 +40,8 @@
* Added ReleaseRuntime build flag (Tarmo Pikaro)
* Added Component, Form, and UserControl build actions
* Added usingdirs() to specify C++/CLI additional using directories (João Matos / triton)
* Added support for VS utility projects (Michael Skibbe / tbasnoopy)
* Added ATL support for VS (Michael Skibbe / tbasnoopy)
-------
4.4 (in progress)

View File

@ -405,6 +405,7 @@
"SharedLib",
"StaticLib",
"WindowedApp",
"Utility",
},
}

View File

@ -795,6 +795,7 @@
WindowedApp = "Application",
Makefile = "Makefile",
None = "Makefile",
Utility = "Utility",
}
_p(2,'<ConfigurationType>%s</ConfigurationType>', types[cfg.kind])
end

View File

@ -227,6 +227,21 @@
]]
end
--
-- Same as above but for Utility
--
function suite.structureIsCorrect_onUtility()
kind "Utility"
prepare()
test.capture [[
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
]]
end
--
-- Check the LinkTimeOptimization flag