ACE 中怎么加入SSL 编译选项
现在要用SSL, 以前编译的ACE中没有SSL,怎么把SSL 编译进去呀?OpenSSL已经安装!
XP, ACE 5.5, VS2005 Microsoft Visual Studio
Set the SSL_ROOT environment variable to the location of the directory containing the OpenSSL inc32 and out32dll directories.
Add ssl=1 to your MPC $ACE_ROOT/bin/MakeProjectCreator/config/default.features or $ACE_ROOT/local.features file, and re-run MPC to add support for building the ACE_SSL library to your MSVC++ workspaces and projects.
Open the ACE.sln solution, and refer to the ACE build and installation instructions above for details on creating a config.h configuration header for this platform. Once the config.h file has been created, build the ACE_SSL project.
看文档,把vc8.features中的ssl = 0改为ssl = 1
另一种方式,我觉得这样也可以
perl bin\mwc.pl -type vc8 -value_template "configurations =Release Debug" -features ssl=1ACE/ACE.mwc
页:
[1]