redis in clion
- 源码参考readme编译
- configure
- make
clion 建立Makefile Application
- 可执行程序
- Build(命令行编译的化,可以删除)
点击run:
====================[ Build | redis-server ]====================================
make --jobs=3 redis-server
cd src && /Library/Developer/CommandLineTools/usr/bin/make redis-server
make[1]: `redis-server' is up to date.
Process finished with exit code 0
Building 'redis-server' finished
调试效果
- redis-server main调试
)