Package MSFS simulator plugins only if they exist

There are no 64 bit MSFS simulator plugins available. Therefore don't
package them, if they were not built.

refs #615
This commit is contained in:
Roland Winklmeier
2016-05-07 19:29:48 +02:00
parent b671089c66
commit 6fad166b44
2 changed files with 8 additions and 1 deletions

View File

@@ -25,7 +25,8 @@
<origin>../../dist/bin/*portaudio*.dll</origin> <origin>../../dist/bin/*portaudio*.dll</origin>
</distributionFile> </distributionFile>
<distributionFile> <distributionFile>
<origin>../../dist/bin/SimConnect.dll</origin> <allowWildcards>1</allowWildcards>
<origin>../../dist/bin/SimConnect*</origin>
</distributionFile> </distributionFile>
<distributionFile> <distributionFile>
<origin>../../dist/bin/speexdsp.dll</origin> <origin>../../dist/bin/speexdsp.dll</origin>

View File

@@ -29,6 +29,9 @@
<platformTest> <platformTest>
<type>windows</type> <type>windows</type>
</platformTest> </platformTest>
<fileExists>
<path>${build_project_directory}/../../dist/bin/plugins/simulator/simulatorfs9.dll</path>
</fileExists>
</shouldPackRuleList> </shouldPackRuleList>
</component> </component>
<component> <component>
@@ -59,6 +62,9 @@ This plugin acts as the interface between swift and FSX.</detailedDescription>
<platformTest> <platformTest>
<type>windows</type> <type>windows</type>
</platformTest> </platformTest>
<fileExists>
<path>${build_project_directory}/../../dist/bin/plugins/simulator/simulatorfsx.dll</path>
</fileExists>
</shouldPackRuleList> </shouldPackRuleList>
</component> </component>
<component> <component>