Let msvc decide if it needs to re-run the download projects based upon the presence of the downloaded directory. This now works properly for these targets when it will scroll pass the target as "up-to-date" instead of running it and doing nothing. This should speed up the build process a bit.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2359 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-08-22 16:30:35 +00:00
parent c0d6246193
commit 8aee1b33b5
6 changed files with 81 additions and 18 deletions

View File

@ -24,11 +24,6 @@
CharacterSet="2" CharacterSet="2"
BuildLogFile="$(IntDir)\BuildLog $(ProjectName).htm" BuildLogFile="$(IntDir)\BuildLog $(ProjectName).htm"
> >
<Tool
Name="VCPreBuildEventTool"
Description="Downloading APR-Iconv."
CommandLine="if not exist $(ProjectDir)..\apr-iconv-1.1.1 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-iconv-1.1.1.tar.gz $(ProjectDir).."
/>
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
/> />
@ -48,11 +43,6 @@
CharacterSet="2" CharacterSet="2"
BuildLogFile="$(IntDir)\BuildLog $(ProjectName).htm" BuildLogFile="$(IntDir)\BuildLog $(ProjectName).htm"
> >
<Tool
Name="VCPreBuildEventTool"
Description="Downloading APR-Iconv."
CommandLine="if not exist $(ProjectDir)..\apr-iconv-1.1.1 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-iconv-1.1.1.tar.gz $(ProjectDir).."
/>
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
/> />
@ -67,6 +57,30 @@
<References> <References>
</References> </References>
<Files> <Files>
<File
RelativePath=".\apr-iconv\cleancount"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Downloading APR-Iconv."
CommandLine="if not exist $(ProjectDir)..\apr-iconv-1.1.1 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-iconv-1.1.1.tar.gz $(ProjectDir).."
Outputs="$(ProjectDir)..\apr-iconv-1.1.1"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Downloading APR-Iconv."
CommandLine="if not exist $(ProjectDir)..\apr-iconv-1.1.1 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-iconv-1.1.1.tar.gz $(ProjectDir).."
Outputs="$(ProjectDir)..\apr-iconv-1.1.1"
/>
</FileConfiguration>
</File>
</Files> </Files>
<Globals> <Globals>
</Globals> </Globals>

View File

@ -26,8 +26,6 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
Description="Downloading APR-Util."
CommandLine="if not exist $(ProjectDir)..\apr-util-1.2.7 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-util-1.2.7.tar.gz $(ProjectDir).."
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -50,8 +48,6 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
Description="Downloading APR-Util."
CommandLine="if not exist $(ProjectDir)..\apr-util-1.2.7 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-util-1.2.7.tar.gz $(ProjectDir).."
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -67,6 +63,30 @@
<References> <References>
</References> </References>
<Files> <Files>
<File
RelativePath=".\apr-util\cleancount"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Downloading APR-Util."
CommandLine="if not exist $(ProjectDir)..\apr-util-1.2.7 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-util-1.2.7.tar.gz $(ProjectDir)..&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\apr-util-1.2.7"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Downloading APR-Util."
CommandLine="if not exist $(ProjectDir)..\apr-util-1.2.7 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-util-1.2.7.tar.gz $(ProjectDir)..&#x0D;&#x0A;"
Outputs="$(ProjectDir)..\apr-util-1.2.7"
/>
</FileConfiguration>
</File>
</Files> </Files>
<Globals> <Globals>
</Globals> </Globals>

View File

@ -26,11 +26,13 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
Description="Downloading APR." Description=""
CommandLine="if not exist $(ProjectDir)..\apr-1.2.7 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-1.2.7.tar.gz $(ProjectDir).." CommandLine=""
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
CommandLine=""
Outputs=""
/> />
<Tool <Tool
Name="VCMIDLTool" Name="VCMIDLTool"
@ -50,8 +52,8 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
Description="Downloading APR." Description=""
CommandLine="if not exist $(ProjectDir)..\apr-1.2.7 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-1.2.7.tar.gz $(ProjectDir).." CommandLine=""
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -67,6 +69,30 @@
<References> <References>
</References> </References>
<Files> <Files>
<File
RelativePath=".\apr\cleancount"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Downloading APR."
CommandLine="if not exist $(ProjectDir)..\apr-1.2.7 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-1.2.7.tar.gz $(ProjectDir).."
Outputs="$(ProjectDir)..\apr-1.2.7"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Downloading APR."
CommandLine="if not exist $(ProjectDir)..\apr-1.2.7 cscript /nologo &quot;$(ProjectDir)util.vbs&quot; GetUnzip http://svn.freeswitch.org/downloads/libs/apr-1.2.7.tar.gz $(ProjectDir).."
Outputs="$(ProjectDir)..\apr-1.2.7"
/>
</FileConfiguration>
</File>
</Files> </Files>
<Globals> <Globals>
</Globals> </Globals>

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
1