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

[PATCH] VC7 vcproj generator

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2003-07-03 04:18:46 CEST

Small patch to update the vcproj generator.

* build/generator/vcnet_vcproj.ezt:
   Added new "sources.user_deps" property, changed debug symbols
   file to match target name rather than project name, and fixed
   some path quoting in the swig stuff.

Index: build/generator/vcnet_vcproj.ezt
===================================================================
--- build/generator/vcnet_vcproj.ezt (revision 6388)
+++ build/generator/vcnet_vcproj.ezt (working copy)
@@ -52,11 +52,11 @@
                                 TargetMachine="1"
                                 IgnoreDefaultLibraryNames="libc.lib"
                                 GenerateDebugInformation="TRUE"
- ProgramDatabaseFile="$(OutDir)\$(ProjectName).pdb"[is configs.name "Debug"]
+ ProgramDatabaseFile="$(OutDir)\$(TargetName).pdb"[is configs.name "Debug"]
                                 OptimizeReferences="0"[else]
                                 OptimizeReferences="2"
                                 EnableCOMDATFolding="2"[end][is target_type "2"]
- ImportLibrary="$(OutDir)\$(ProjectName).lib"[end]
+ ImportLibrary="$(OutDir)\$(TargetName).lib"[end]
 [is target_type "1"] Subsystem="1"[end]/>
 [is target_type "4"]
                         <Tool
@@ -95,8 +95,9 @@
                                 Name="[configs.name]|Win32">
                                 <Tool
                                         Name="VCCustomBuildTool"
- CommandLine="swig -[sources.swig_language][for includes] -I&quot;[includes]&quot;[end] -o [sources.swig_output] $(InputPath)"
- Outputs="[sources.swig_target]"/>
+ CommandLine="swig -[sources.swig_language][for includes] -I&quot;[includes]&quot;[end] -o &quot;[sources.swig_output]&quot; $(InputPath)"
+ AdditionalDependencies="[for sources.user_deps]&quot;[sources.user_deps]&quot;;[end]"
+ Outputs="&quot;[sources.swig_target]&quot;"/>
                         </FileConfiguration>
 [end][end]
 [if-any sources.reldir][for configs]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 3 04:20:13 2003

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.