updated buildinputs tests to check the file separator
This commit is contained in:
parent
7c4eed3d1c
commit
e919f9e9f5
@ -384,7 +384,7 @@
|
||||
'c2o -c "$(IntDir)/$(InputName).xo" -o "$(IntDir)/$(InputName).obj"'
|
||||
}
|
||||
buildoutputs { "$(IntDir)/$(InputName).obj" }
|
||||
buildinputs { "common.x.inc" }
|
||||
buildinputs { "common.x.inc", "common.x.inc2" }
|
||||
prepare()
|
||||
test.capture [[
|
||||
<Files>
|
||||
@ -398,7 +398,7 @@
|
||||
Name="VCCustomBuildTool"
|
||||
CommandLine="cxc -c "$(InputFile)" -o "$(IntDir)/$(InputName).xo"
c2o -c "$(IntDir)/$(InputName).xo" -o "$(IntDir)/$(InputName).obj""
|
||||
Outputs="$(IntDir)/$(InputName).obj"
|
||||
AdditionalDependencies="common.x.inc"
|
||||
AdditionalDependencies="common.x.inc;common.x.inc2"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
]]
|
||||
|
@ -120,7 +120,7 @@
|
||||
filter "files:**.cg"
|
||||
buildcommands { "cgc $(InputFile)" }
|
||||
buildoutputs { "$(InputName).obj" }
|
||||
buildinputs { "common.cg.inc" }
|
||||
buildinputs { "common.cg.inc", "common.cg.inc2" }
|
||||
prepare()
|
||||
test.capture [[
|
||||
<ItemGroup>
|
||||
@ -128,10 +128,10 @@
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cgc $(InputFile)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(InputName).obj</Outputs>
|
||||
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">common.cg.inc</AdditionalInputs>
|
||||
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">common.cg.inc;common.cg.inc2</AdditionalInputs>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cgc $(InputFile)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(InputName).obj</Outputs>
|
||||
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">common.cg.inc</AdditionalInputs>
|
||||
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">common.cg.inc;common.cg.inc2</AdditionalInputs>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
]]
|
||||
|
Reference in New Issue
Block a user