copy libraries as content to target folder

This commit is contained in:
Birch-san 2019-08-03 16:45:26 +01:00
parent 0870195e7e
commit 2f29023495
No known key found for this signature in database
GPG Key ID: 726D53FF6A26AB9D
3 changed files with 39 additions and 0 deletions

View File

@ -283,6 +283,19 @@
<ItemGroup> <ItemGroup>
<ClCompile Include="..\..\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp"/> <ClCompile Include="..\..\JuceLibraryCode\include_juce_audio_plugin_client_Standalone.cpp"/>
</ItemGroup> </ItemGroup>
<!-- Note: glob Content Include is not good for incremental build. It saves some typing though. -->
<ItemGroup Condition="'$(Platform)'=='x64'">
<Content Include="lib_x64\*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='Win32'">
<Content Include="lib_x86\*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup/> <ItemGroup/>
<ItemGroup> <ItemGroup>
<ResourceCompile Include=".\resources.rc"/> <ResourceCompile Include=".\resources.rc"/>

View File

@ -283,6 +283,19 @@
<ItemGroup> <ItemGroup>
<ClCompile Include="..\..\JuceLibraryCode\include_juce_audio_plugin_client_VST2.cpp"/> <ClCompile Include="..\..\JuceLibraryCode\include_juce_audio_plugin_client_VST2.cpp"/>
</ItemGroup> </ItemGroup>
<!-- Note: glob Content Include is not good for incremental build. It saves some typing though. -->
<ItemGroup Condition="'$(Platform)'=='x64'">
<Content Include="lib_x64\*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='Win32'">
<Content Include="lib_x86\*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup/> <ItemGroup/>
<ItemGroup> <ItemGroup>
<ResourceCompile Include=".\resources.rc"/> <ResourceCompile Include=".\resources.rc"/>

View File

@ -283,6 +283,19 @@
<ItemGroup> <ItemGroup>
<ClCompile Include="..\..\JuceLibraryCode\include_juce_audio_plugin_client_VST3.cpp"/> <ClCompile Include="..\..\JuceLibraryCode\include_juce_audio_plugin_client_VST3.cpp"/>
</ItemGroup> </ItemGroup>
<!-- Note: glob Content Include is not good for incremental build. It saves some typing though. -->
<ItemGroup Condition="'$(Platform)'=='x64'">
<Content Include="lib_x64\*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='Win32'">
<Content Include="lib_x86\*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup/> <ItemGroup/>
<ItemGroup> <ItemGroup>
<ResourceCompile Include=".\resources.rc"/> <ResourceCompile Include=".\resources.rc"/>