Process 'default_ui_config.in' when building with MSVC
This commit is contained in:
parent
4d4c20b8cc
commit
2996e677c4
@ -24,6 +24,8 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
|
Description="Prepare configuration file(s)"
|
||||||
|
CommandLine="cd ..
perl msvc32-fixup.pl
"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@ -96,6 +98,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
CommandLine="cd ..\gtk2_ardour
copy /Y "default_ui_config" "$(Debug32TestSuiteFolder)\..\share\ardour3"
"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -108,6 +111,8 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
|
Description="Prepare configuration file(s)"
|
||||||
|
CommandLine="cd ..
perl msvc32-fixup.pl
"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@ -177,7 +182,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
CommandLine="copy /Y "$(Release32TestSuiteFolder)\$(ProjectName).exe" "$(Release32TargetFolder)\$(ProjectName).exe"
cd .
"
|
CommandLine="copy /Y "$(Release32TestSuiteFolder)\$(ProjectName).exe" "$(Release32TargetFolder)\$(ProjectName).exe"
cd ..\gtk2_ardour
copy /Y "default_ui_config" "$(PackagerFolderLocal)\..\share\ardour3"
copy /Y "default_ui_config" "$(Release32TestSuiteFolder)\..\share\ardour3"
"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -190,6 +195,8 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
|
Description="Prepare configuration file(s)"
|
||||||
|
CommandLine="cd ..
perl msvc32-fixup.pl
"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@ -260,6 +267,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
|
CommandLine="cd ..\gtk2_ardour
copy /Y "default_ui_config" "$(Release32TestSuiteFolder)\..\share\ardour3"
"
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
|
Description="Use existing configuration file(s)"
|
||||||
|
CommandLine="cd ."
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@ -103,6 +105,8 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
|
Description="Use existing configuration file(s)"
|
||||||
|
CommandLine="cd ."
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
@ -182,7 +186,8 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="python "../../../libs/pbd/pbd/signals.py" "../../../libs/pbd/pbd/signals_generated.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\ptw32\pthread.h.input" "$(GenericIncludeFolder)\ardourext\ptw32\pthread.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\sys\targetsxs.h.input" "$(GenericIncludeFolder)\ardourext\sys\targetsxs.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\sys\time.h.input" "$(GenericIncludeFolder)\ardourext\sys\time.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\float_cast.h.input" "$(GenericIncludeFolder)\ardourext\float_cast.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\libcharset.h.input" "$(GenericIncludeFolder)\ardourext\libcharset.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\localcharset.h.input" "$(GenericIncludeFolder)\ardourext\localcharset.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\misc.h.input" "$(GenericIncludeFolder)\ardourext\misc.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\pthread.h.input" "$(GenericIncludeFolder)\ardourext\pthread.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\sched.h.input" "$(GenericIncludeFolder)\ardourext\sched.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\semaphore.h.input" "$(GenericIncludeFolder)\ardourext\semaphore.h"
copy /Y "..\..\..\msvc_extra_headers\unistd.h.input" "$(GenericIncludeFolder)\unistd.h"
"
|
Description="Prepare configuration file(s)"
|
||||||
|
CommandLine="python "../../../libs/pbd/pbd/signals.py" "../../../libs/pbd/pbd/signals_generated.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\ptw32\pthread.h.input" "$(GenericIncludeFolder)\ardourext\ptw32\pthread.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\sys\targetsxs.h.input" "$(GenericIncludeFolder)\ardourext\sys\targetsxs.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\sys\time.h.input" "$(GenericIncludeFolder)\ardourext\sys\time.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\float_cast.h.input" "$(GenericIncludeFolder)\ardourext\float_cast.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\libcharset.h.input" "$(GenericIncludeFolder)\ardourext\libcharset.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\localcharset.h.input" "$(GenericIncludeFolder)\ardourext\localcharset.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\misc.h.input" "$(GenericIncludeFolder)\ardourext\misc.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\pthread.h.input" "$(GenericIncludeFolder)\ardourext\pthread.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\sched.h.input" "$(GenericIncludeFolder)\ardourext\sched.h"
copy /Y "..\..\..\msvc_extra_headers\ardourext\semaphore.h.input" "$(GenericIncludeFolder)\ardourext\semaphore.h"
copy /Y "..\..\..\msvc_extra_headers\unistd.h.input" "$(GenericIncludeFolder)\unistd.h"
cd ..\..\..
perl msvc32-fixup.pl
"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
@ -18,6 +18,15 @@ $current_minus_age = 0;
|
|||||||
$exec_prefix = "lib";
|
$exec_prefix = "lib";
|
||||||
$dll_suffix = "32";
|
$dll_suffix = "32";
|
||||||
$lib_ext = ".dll";
|
$lib_ext = ".dll";
|
||||||
|
$monospace = "ArdourMono";
|
||||||
|
$font_small = 9;
|
||||||
|
$font_smaller = 8;
|
||||||
|
$font_normal = 10;
|
||||||
|
$font_big = 14;
|
||||||
|
$font_large = 18;
|
||||||
|
$font_larger = 24;
|
||||||
|
$font_huger = 34;
|
||||||
|
$font_massive = 60;
|
||||||
|
|
||||||
sub process_file
|
sub process_file
|
||||||
{
|
{
|
||||||
@ -47,6 +56,15 @@ sub process_file
|
|||||||
s/\@VERSION@/$msvc_mixbus_version/g;
|
s/\@VERSION@/$msvc_mixbus_version/g;
|
||||||
s/\@DLL_SUFFIX\@/$dll_suffix/g;
|
s/\@DLL_SUFFIX\@/$dll_suffix/g;
|
||||||
s/\@LIB_EXT\@/$lib_ext/g;
|
s/\@LIB_EXT\@/$lib_ext/g;
|
||||||
|
s/\@MONOSPACE\@/$monospace/g;
|
||||||
|
s/\@FONT_SMALL\@/$font_small/g;
|
||||||
|
s/\@FONT_SMALLER\@/$font_smaller/g;
|
||||||
|
s/\@FONT_NORMAL\@/$font_normal/g;
|
||||||
|
s/\@FONT_BIG\@/$font_big/g;
|
||||||
|
s/\@FONT_LARGE\@/$font_large/g;
|
||||||
|
s/\@FONT_LARGER\@/$font_larger/g;
|
||||||
|
s/\@FONT_HUGER\@/$font_huger/g;
|
||||||
|
s/\@FONT_MASSIVE\@/$font_massive/g;
|
||||||
s/\@GETTEXT_PACKAGE\@/$gettext_package/g;
|
s/\@GETTEXT_PACKAGE\@/$gettext_package/g;
|
||||||
s/\@PERL_PATH@/$perl_path/g;
|
s/\@PERL_PATH@/$perl_path/g;
|
||||||
s/\@PackagerFolderLocal@/$packager_folder_local/g;
|
s/\@PackagerFolderLocal@/$packager_folder_local/g;
|
||||||
@ -74,6 +92,7 @@ sub process_file
|
|||||||
}
|
}
|
||||||
|
|
||||||
process_file ("libs/plugins/reasonablesynth.lv2/manifest.ttl");
|
process_file ("libs/plugins/reasonablesynth.lv2/manifest.ttl");
|
||||||
|
process_file ("gtk2_ardour/default_ui_config");
|
||||||
|
|
||||||
my $command=join(' ',@ARGV);
|
my $command=join(' ',@ARGV);
|
||||||
if ($command eq -buildall) {
|
if ($command eq -buildall) {
|
||||||
|
Loading…
Reference in New Issue
Block a user