Build: Copy data directory with VS solution too
This commit is contained in:
parent
9ff8cf009a
commit
525bfda672
|
@ -161,6 +161,22 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Natvis Include="qt5.natvis" />
|
<Natvis Include="qt5.natvis" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<CommonDataFiles Include="$(SolutionDir)data\**\*.*">
|
||||||
|
<InProject>false</InProject>
|
||||||
|
</CommonDataFiles>
|
||||||
|
</ItemGroup>
|
||||||
|
<Target Name="CopyCommonDataFiles"
|
||||||
|
AfterTargets="Build"
|
||||||
|
Inputs="@(CommonDataFiles)"
|
||||||
|
Outputs="@(CommonDataFiles -> '$(BinaryOutputDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||||
|
<Message Text="Copying common data files" Importance="High" />
|
||||||
|
<Copy
|
||||||
|
SourceFiles="@(CommonDataFiles)"
|
||||||
|
DestinationFolder="$(BinaryOutputDir)\%(RecursiveDir)"
|
||||||
|
SkipUnchangedFiles="true"
|
||||||
|
/>
|
||||||
|
</Target>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{28F14272-0EC4-41BB-849F-182ADB81AF70}</ProjectGuid>
|
<ProjectGuid>{28F14272-0EC4-41BB-849F-182ADB81AF70}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
|
Loading…
Reference in New Issue