When building with MSVC, use perl to generate 'ardour.keys'
authorJohn Emmas <johne53@tiscali.co.uk>
Mon, 30 Jan 2017 11:07:59 +0000 (11:07 +0000)
committerJohn Emmas <johne53@tiscali.co.uk>
Mon, 30 Jan 2017 11:09:56 +0000 (11:09 +0000)
MSVCardour3/Ardour3.vcproj

index 87b0bd3992f24bc898c6f8cc67427d17b3451d5e..14ebc4d388b2c0fa66b757a3d094873198f5e0b4 100644 (file)
@@ -25,7 +25,7 @@
                        <Tool
                                Name="VCPreBuildEventTool"
                                Description="Prepare configuration file(s)"
-                               CommandLine="cd ..&#x0D;&#x0A;perl msvc32-fixup.pl&#x0D;&#x0A;"
+                               CommandLine="cd ..&#x0D;&#x0A;del gtk2_ardour\ardour.keys&#x0D;&#x0A;perl msvc32-fixup.pl&#x0D;&#x0A;perl tools/fmt-bindings --platform=&quot;windows&quot; --winkey=&quot;Win&quot; --accelmap  gtk2_ardour/ardour.keys.in &gt; gtk2_ardour/ardour.keys&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
@@ -98,7 +98,7 @@
                        />
                        <Tool
                                Name="VCPostBuildEventTool"
-                               CommandLine="cd ..\gtk2_ardour&#x0D;&#x0A;copy /Y &quot;resources\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\resources&quot;&#x0D;&#x0A;copy /Y &quot;icons\*.png&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\*.png&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\hotspots&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;default_ui_config&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;"
+                               CommandLine="cd ..\gtk2_ardour&#x0D;&#x0A;copy /Y &quot;resources\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\resources&quot;&#x0D;&#x0A;copy /Y &quot;icons\*.png&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\*.png&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\hotspots&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;ardour.keys&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;copy /Y &quot;default_ui_config&quot; &quot;$(Debug32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;"
                        />
                </Configuration>
                <Configuration
                        <Tool
                                Name="VCPreBuildEventTool"
                                Description="Prepare configuration file(s)"
-                               CommandLine="cd ..&#x0D;&#x0A;perl msvc32-fixup.pl&#x0D;&#x0A;"
+                               CommandLine="cd ..&#x0D;&#x0A;del gtk2_ardour\ardour.keys&#x0D;&#x0A;perl msvc32-fixup.pl&#x0D;&#x0A;perl tools/fmt-bindings --platform=&quot;windows&quot; --winkey=&quot;Win&quot; --accelmap  gtk2_ardour/ardour.keys.in &gt; gtk2_ardour/ardour.keys&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
                        />
                        <Tool
                                Name="VCPostBuildEventTool"
-                               CommandLine="copy /Y &quot;$(Release32TestSuiteFolder)\$(ProjectName).exe&quot; &quot;$(Release32TargetFolder)\$(ProjectName).exe&quot;&#x0D;&#x0A;cd ..\gtk2_ardour&#x0D;&#x0A;copy /Y &quot;resources\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\resources&quot;&#x0D;&#x0A;copy /Y &quot;icons\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\hotspots&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;default_ui_config&quot; &quot;$(PackagerFolderLocal)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;copy /Y &quot;default_ui_config&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;"
+                               CommandLine="copy /Y &quot;$(Release32TestSuiteFolder)\$(ProjectName).exe&quot; &quot;$(Release32TargetFolder)\$(ProjectName).exe&quot;&#x0D;&#x0A;cd ..\gtk2_ardour&#x0D;&#x0A;copy /Y &quot;resources\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\resources&quot;&#x0D;&#x0A;copy /Y &quot;icons\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\hotspots&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;ardour.keys&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;copy /Y &quot;default_ui_config&quot; &quot;$(PackagerFolderLocal)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;copy /Y &quot;default_ui_config&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;"
                        />
                </Configuration>
                <Configuration
                        <Tool
                                Name="VCPreBuildEventTool"
                                Description="Prepare configuration file(s)"
-                               CommandLine="cd ..&#x0D;&#x0A;perl msvc32-fixup.pl&#x0D;&#x0A;"
+                               CommandLine="cd ..&#x0D;&#x0A;del gtk2_ardour\ardour.keys&#x0D;&#x0A;perl msvc32-fixup.pl&#x0D;&#x0A;perl tools/fmt-bindings --platform=&quot;windows&quot; --winkey=&quot;Win&quot; --accelmap  gtk2_ardour/ardour.keys.in &gt; gtk2_ardour/ardour.keys&#x0D;&#x0A;"
                        />
                        <Tool
                                Name="VCCustomBuildTool"
                        />
                        <Tool
                                Name="VCPostBuildEventTool"
-                               CommandLine="cd ..\gtk2_ardour&#x0D;&#x0A;copy /Y &quot;resources\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\resources&quot;&#x0D;&#x0A;copy /Y &quot;icons\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\hotspots&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;default_ui_config&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;"
+                               CommandLine="cd ..\gtk2_ardour&#x0D;&#x0A;copy /Y &quot;resources\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\resources&quot;&#x0D;&#x0A;copy /Y &quot;icons\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\*.png&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;icons\cursor_square\hotspots&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)\icons&quot;&#x0D;&#x0A;copy /Y &quot;ardour.keys&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;copy /Y &quot;default_ui_config&quot; &quot;$(Release32TestSuiteFolder)\..\share\$(LibardourFolder)&quot;&#x0D;&#x0A;"
                        />
                </Configuration>
        </Configurations>