On Tue, Mar 23, 2010 at 11:25, <rhuijben_at_apache.org> wrote:
>...
> +++ subversion/trunk/build/generator/templates/vcnet_vcproj.ezt Tue Mar 23 15:25:10 2010
> @@ -128,7 +128,8 @@
> <Tool
> Name="VCCustomBuildTool"
> CommandLine="[sources.custom_build]"
> - AdditionalDependencies="[for sources.user_deps]"[sources.user_deps]";[end]"
> +[is sources.custom_desc ""][else] Description="[sources.custom_desc]"
> +[end] AdditionalDependencies="[for sources.user_deps]"[sources.user_deps]";[end]"
That's an ugly construction. Just use:
[if-any sources.custom_desc]...[end]
>...
> +++ subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt Tue Mar 23 15:25:10 2010
> @@ -91,7 +91,8 @@
> [for configs][for platforms] <Command Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[sources.custom_build]</Command>
> <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[for sources.user_deps][sources.user_deps];[end]%(AdditionalInputs)</AdditionalInputs>
> <Outputs Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[sources.custom_target];%(Outputs)</Outputs>
> -[end][end] </CustomBuild>
> +[is sources.custom_desc ""][else]<Message Condition="'$(Configuration)|$(Platform)'=='[configs.name]|[platforms]'">[sources.custom_desc]</Message>
> +[end][end][end] </CustomBuild>
Same.
>...
Cheers,
-g
Received on 2010-03-23 22:00:36 CET