【Poco】Poco1.4.4 Win7 VS2010安装配置

1. cd命令进入poco根目录
cd G:\C++\Library\poco\poco-1.4.4-all
2. 修改buildwin中openssl的参数
下面是我机子的参数
rem Change OPENSSL_DIR to match your setup
set OPENSSL_DIR=D:\OpenSSL
set OPENSSL_INCLUDE=%OPENSSL_DIR%\include
set OPENSSL_LIB=%OPENSSL_DIR%\lib\VC
set INCLUDE=%INCLUDE%;%OPENSSL_INCLUDE%
set LIB=%LIB%;%OPENSSL_LIB%
3. 修改buildwin中mysql的参数
rem Change MYSQL_DIR to match your setup
set MYSQL_DIR=C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2
set MYSQL_INCLUDE=%MYSQL_DIR%\include
set MYSQL_LIB=%MYSQL_DIR%\lib\opt
set INCLUDE=%INCLUDE%;%MYSQL_INCLUDE%
set LIB=%LIB%;%MYSQL_LIB%
4. 运行buildwin
buildwin 100 build all both Win32 sample devenv


附buildwin参数:
rem buildwin VS_VERSION [ACTION] [LINKMODE] [CONFIG] [PLATFORM] [SAMPLES] [DEVENV]
rem VS_VERSION: 71|80|90|100
rem ACTION:     build|rebuild|clean
rem LINKMODE:   static_mt|static_md|shared|all
rem CONFIG:     release|debug|both
rem PLATFORM:   Win32|x64|WinCE
rem SAMPLES:    samples|nosamples
rem DEVENV:     devenv|vcexpress

你可能感兴趣的:(【Poco】Poco1.4.4 Win7 VS2010安装配置)