Merge pull request #849 from mendsley/utility_buildlog

Write out build log element for VS utility projects
This commit is contained in:
Tom van Dijck 2017-07-31 13:27:51 -07:00 committed by GitHub
commit 5ecd0a3102
2 changed files with 17 additions and 0 deletions

View File

@ -79,3 +79,19 @@
prepare("Release")
test.isemptycapture()
end
--
-- Utility projects include buildlog
--
function suite.utilityIncludesPath()
kind "Utility"
buildlog "MyCustomLogFile.log"
prepare()
test.capture [[
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<BuildLog>
<Path>MyCustomLogFile.log</Path>
</BuildLog>
</ItemDefinitionGroup>
]]
end

View File

@ -268,6 +268,7 @@
return {
m.ruleVars,
m.buildEvents,
m.buildLog,
}
else
return {