[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r926613 - in /subversion/trunk/build/generator: gen_win.py templates/vcnet_vcproj.ezt templates/vcnet_vcxproj.ezt

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 23 Mar 2010 17:00:09 -0400

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]&quot;[sources.user_deps]&quot;;[end]"
> +[is sources.custom_desc ""][else]                                      Description="[sources.custom_desc]"
> +[end]                                  AdditionalDependencies="[for sources.user_deps]&quot;[sources.user_deps]&quot;;[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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.