1、使用版本是rabbitmq-c-0.8.0;
2、下载windoes的cmake包,配置到环境变量中,重启powershell;
3、进入powershell命令行:
由于没有下载openssl的包,需要手动修改Cmakelist.txt文件
option(ENABLE_SSL_SUPPORT "Enable SSL support" ON) 为
option(ENABLE_SSL_SUPPORT "Enable SSL support" OFF)
cd E:opensrc abbitmq-c-0.8.0
mkdir build
cd build
cmake ..
可以看到build目录下生产了VS2017的工程文件和解决方案文件;
使用VS2017打开
进行编译即可;