- WIN: Update project files to account for new directory structure.

win_buld/
        <Many Files>

svn path=/trunk/boinc/; revision=14360
This commit is contained in:
Rom Walton 2007-12-05 19:03:47 +00:00
parent f10786c135
commit a3f2b40d08
3 changed files with 48 additions and 31 deletions

View File

@ -12130,3 +12130,9 @@ Rom 5 Dec 2007
<Many Files> <Many Files>
zlib/ zlib/
<Many Files> <Many Files>
Rom 5 Dec 2007
- WIN: Update project files to account for new directory structure.
win_buld/
<Many Files>

View File

@ -85,11 +85,11 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="zlib1.lib ssleay32.lib libeay32.lib libcurl_imp.lib MSVCRTD.LIB MSVCPRTD.LIB wsock32.lib wininet.lib winmm.lib libboincd.lib" AdditionalDependencies="zlib1d.lib ssleay32.lib libeay32.lib libcurld_imp.lib MSVCRTD.LIB MSVCPRTD.LIB wsock32.lib wininet.lib winmm.lib libboincd.lib"
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe" OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe"
LinkIncremental="2" LinkIncremental="2"
SuppressStartupBanner="true" SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/lib&quot;;../../;&quot;$(OutDir)&quot;" AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;../../;&quot;$(OutDir)&quot;"
IgnoreAllDefaultLibraries="true" IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames="" IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
@ -123,7 +123,7 @@
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
Description="Checking boinc.exe dependencies" Description="Checking boinc.exe dependencies"
CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot;" CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot; &quot;$(ConfigurationName)&quot;"
/> />
</Configuration> </Configuration>
<Configuration <Configuration
@ -194,11 +194,11 @@
/> />
<Tool <Tool
Name="VCLinkerTool" Name="VCLinkerTool"
AdditionalDependencies="zlib1.lib ssleay32.lib libeay32.lib libcurl_imp.lib MSVCRTD.LIB MSVCPRTD.LIB wsock32.lib wininet.lib winmm.lib libboincd.lib" AdditionalDependencies="zlib1d.lib ssleay32.lib libeay32.lib libcurld_imp.lib MSVCRTD.LIB MSVCPRTD.LIB wsock32.lib wininet.lib winmm.lib libboincd.lib"
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe" OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe"
LinkIncremental="2" LinkIncremental="2"
SuppressStartupBanner="true" SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/lib&quot;;../../;&quot;$(OutDir)&quot;" AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;../../;&quot;$(OutDir)&quot;"
IgnoreAllDefaultLibraries="true" IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames="" IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
@ -232,7 +232,7 @@
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
Description="Checking boinc.exe dependencies" Description="Checking boinc.exe dependencies"
CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot;" CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot; &quot;$(ConfigurationName)&quot;"
/> />
</Configuration> </Configuration>
<Configuration <Configuration
@ -307,7 +307,7 @@
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe" OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="true" SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/lib&quot;;../../;&quot;$(OutDir)&quot;" AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;../../;&quot;$(OutDir)&quot;"
IgnoreAllDefaultLibraries="true" IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames="" IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
@ -342,7 +342,7 @@
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
Description="Checking boinc.exe dependencies" Description="Checking boinc.exe dependencies"
CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot;" CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot; &quot;$(ConfigurationName)&quot;"
/> />
</Configuration> </Configuration>
<Configuration <Configuration
@ -417,7 +417,7 @@
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe" OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="true" SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/lib&quot;;../../;&quot;$(OutDir)&quot;" AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;../../;&quot;$(OutDir)&quot;"
IgnoreAllDefaultLibraries="true" IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames="" IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
@ -452,7 +452,7 @@
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
Description="Checking boinc.exe dependencies" Description="Checking boinc.exe dependencies"
CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot;" CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot; &quot;$(ConfigurationName)&quot;"
/> />
</Configuration> </Configuration>
<Configuration <Configuration
@ -528,7 +528,7 @@
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe" OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="true" SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/lib&quot;;../../;&quot;$(OutDir)&quot;" AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;../../;&quot;$(OutDir)&quot;"
IgnoreAllDefaultLibraries="true" IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames="" IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
@ -562,8 +562,8 @@
/> />
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
Description="Checking Dependencies" Description="Checking boinc.exe dependencies"
CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot;&#x0D;&#x0A;" CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot; &quot;$(ConfigurationName)&quot;"
/> />
</Configuration> </Configuration>
<Configuration <Configuration
@ -638,7 +638,7 @@
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe" OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\boinc.exe"
LinkIncremental="1" LinkIncremental="1"
SuppressStartupBanner="true" SuppressStartupBanner="true"
AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/lib&quot;;../../;&quot;$(OutDir)&quot;" AdditionalLibraryDirectories="&quot;../openssl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../curl/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;&quot;../zlib/mswin/$(PlatformName)/$(ConfigurationName)/lib&quot;;../../;&quot;$(OutDir)&quot;"
IgnoreAllDefaultLibraries="true" IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames="" IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true" GenerateDebugInformation="true"
@ -672,8 +672,8 @@
/> />
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
Description="Checking Dependencies" Description="Checking boinc.exe dependencies"
CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot;&#x0D;&#x0A;" CommandLine="boinc_post_bld_rules.cmd &quot;$(SolutionDir)&quot; &quot;$(OutDir)&quot; &quot;$(PlatformName)&quot; &quot;$(ConfigurationName)&quot;"
/> />
</Configuration> </Configuration>
</Configurations> </Configurations>

View File

@ -22,55 +22,66 @@ rem
FOR /F "usebackq delims==" %%I IN ('%1') DO set PROJECTROOTDIR=%%~I\.. FOR /F "usebackq delims==" %%I IN ('%1') DO set PROJECTROOTDIR=%%~I\..
FOR /F "usebackq delims==" %%J IN ('%2') DO set OUTPUTDIR=%%~J FOR /F "usebackq delims==" %%J IN ('%2') DO set OUTPUTDIR=%%~J
FOR /F "usebackq delims==" %%K IN ('%3') DO set PLATFORMNAME=%%~K FOR /F "usebackq delims==" %%K IN ('%3') DO set PLATFORMNAME=%%~K
FOR /F "usebackq delims==" %%L IN ('%4') DO set CONFIGNAME=%%~L
if not exist %OUTPUTDIR%\dbghelp.dll ( if not exist %OUTPUTDIR%\dbghelp.dll (
echo Coping dbghelp to the output directory... echo Copying dbghelp to the output directory...
copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\dbghelp.dll" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\dbghelp.dll" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\dbghelp95.dll ( if not exist %OUTPUTDIR%\dbghelp95.dll (
echo Coping dbghelp95 to the output directory... echo Copying dbghelp95 to the output directory...
copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\dbghelp95.dll" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\dbghelp95.dll" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\symsrv.dll ( if not exist %OUTPUTDIR%\symsrv.dll (
echo Coping symsrv to the output directory... echo Copying symsrv to the output directory...
copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\symsrv.dll" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\symsrv.dll" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\symsrv.yes ( if not exist %OUTPUTDIR%\symsrv.yes (
echo Coping symsrv.yes to the output directory... echo Copying symsrv.yes to the output directory...
copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\symsrv.yes" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\symsrv.yes" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\srcsrv.dll ( if not exist %OUTPUTDIR%\srcsrv.dll (
echo Coping srcsrv.dll to the output directory... echo Copying srcsrv.dll to the output directory...
copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\srcsrv.dll" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\win_build\installerv2\redist\Windows\%PLATFORMNAME%\srcsrv.dll" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\libcurld.dll (
echo Copying libcurld to the output directory...
copy "%PROJECTROOTDIR%\curl\mswin\%PLATFORMNAME%\%CONFIGNAME%\bin\libcurld.dll" "%OUTPUTDIR%"
)
if not exist %OUTPUTDIR%\libcurl.dll ( if not exist %OUTPUTDIR%\libcurl.dll (
echo Coping libcurl to the output directory... echo Copying libcurl to the output directory...
copy "%PROJECTROOTDIR%\curl\mswin\%PLATFORMNAME%\bin\libcurl.dll" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\curl\mswin\%PLATFORMNAME%\%CONFIGNAME%\bin\libcurl.dll" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\ca-bundle.crt ( if not exist %OUTPUTDIR%\ca-bundle.crt (
echo Coping ca-bundle.crt to the output directory... echo Copying ca-bundle.crt to the output directory...
copy "%PROJECTROOTDIR%\curl\ca-bundle.crt" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\curl\ca-bundle.crt" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\libeay32.dll ( if not exist %OUTPUTDIR%\libeay32.dll (
echo Coping libeay32 to the output directory... echo Copying libeay32 to the output directory...
copy "%PROJECTROOTDIR%\openssl\mswin\%PLATFORMNAME%\bin\libeay32.dll" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\openssl\mswin\%PLATFORMNAME%\%CONFIGNAME%\bin\libeay32.dll" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\ssleay32.dll ( if not exist %OUTPUTDIR%\ssleay32.dll (
echo Coping ssleay32 to the output directory... echo Copying ssleay32 to the output directory...
copy "%PROJECTROOTDIR%\openssl\mswin\%PLATFORMNAME%\bin\ssleay32.dll" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\openssl\mswin\%PLATFORMNAME%\%CONFIGNAME%\bin\ssleay32.dll" "%OUTPUTDIR%"
)
if not exist %OUTPUTDIR%\zlib1d.dll (
echo Copying zlib1d to the output directory...
copy "%PROJECTROOTDIR%\zlib\mswin\%PLATFORMNAME%\%CONFIGNAME%\bin\zlib1d.dll" "%OUTPUTDIR%"
) )
if not exist %OUTPUTDIR%\zlib1.dll ( if not exist %OUTPUTDIR%\zlib1.dll (
echo Coping zlib1 to the output directory... echo Copying zlib1 to the output directory...
copy "%PROJECTROOTDIR%\zlib\mswin\%PLATFORMNAME%\bin\zlib1.dll" "%OUTPUTDIR%" copy "%PROJECTROOTDIR%\zlib\mswin\%PLATFORMNAME%\%CONFIGNAME%\bin\zlib1.dll" "%OUTPUTDIR%"
) )
EXIT /B 0