Merge pull request #1402 from yuyoyuppe/fix_1172
Remove checkFunc from Resource files
This commit is contained in:
commit
0a9844891d
@ -277,6 +277,19 @@
|
||||
flags { "ExcludeFromBuild" }
|
||||
prepare()
|
||||
test.capture [[
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="hello.rc">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
]]
|
||||
end
|
||||
|
||||
function suite.includedFromBuild_onResourceFile_nonWindows()
|
||||
files { "hello.rc" }
|
||||
system "Linux"
|
||||
prepare()
|
||||
test.capture [[
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="hello.rc" />
|
||||
</ItemGroup>
|
||||
|
@ -865,9 +865,7 @@
|
||||
m.excludedFromBuild
|
||||
}
|
||||
|
||||
m.emitFiles(prj, group, "ResourceCompile", nil, fileCfgFunc, function(cfg)
|
||||
return cfg.system == p.WINDOWS
|
||||
end)
|
||||
m.emitFiles(prj, group, "ResourceCompile", nil, fileCfgFunc)
|
||||
end,
|
||||
|
||||
emitFilter = function(prj, group)
|
||||
|
Reference in New Issue
Block a user