Giter Site home page Giter Site logo

htw0056 / redis-3.0-annotated-cmake-in-clion Goto Github PK

View Code? Open in Web Editor NEW
87.0 87.0 87.0 1.43 MB

License: BSD 3-Clause "New" or "Revised" License

CMake 0.11% Makefile 0.27% Shell 0.42% C 83.42% Objective-C 0.69% Ruby 1.93% C++ 0.08% Tcl 13.04% Smarty 0.04%

redis-3.0-annotated-cmake-in-clion's People

Contributors

htw0056 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

redis-3.0-annotated-cmake-in-clion's Issues

how to write cmakelist.txt file,

I have a source of bash,I need run it in clion with cywin.I don't know how to write cmakelist.txt file.
the cmakelist.txt file generate by clion has error

编译报错

D:\C_Study\redis-3.0-annotated-cmake-in-clion-master\deps\hiredis\hiredis.c: In function '__redisSetError':
D:\C_Study\redis-3.0-annotated-cmake-in-clion-master\deps\hiredis\hiredis.c:985:9: warning: implicit declaration of function 'strerror_r'; did you mean 'strerror_s'? [-Wimplicit-function-declaration]
strerror_r(errno,c->errstr,sizeof(c->errstr));
^~~~~~~~~~
strerror_s
[ 7%] Building C object deps/linenoise/CMakeFiles/linenoise.dir/linenoise.c.obj
D:\C_Study\redis-3.0-annotated-cmake-in-clion-master\deps\linenoise\linenoise.c:97:10: fatal error: termios.h: No such file or directory
#include <termios.h>
^~~~~~~~~~~
compilation terminated.
mingw32-make.exe[3]: *** [deps\linenoise\CMakeFiles\linenoise.dir\build.make:71: deps/linenoise/CMakeFiles/linenoise.dir/linenoise.c.obj] Error 1
mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:233: deps/linenoise/CMakeFiles/linenoise.dir/all] Error 2
mingw32-make.exe[2]: *** Waiting for unfinished jobs....
[ 8%] Building C object deps/lua/CMakeFiles/lua.dir/src/lauxlib.c.obj
[ 9%] Building C object deps/lua/CMakeFiles/lua.dir/src/lstate.c.obj
D:\C_Study\redis-3.0-annotated-cmake-in-clion-master\deps\hiredis\net.c:35:10: fatal error: sys/socket.h: No such file or directory
#include <sys/socket.h>
^~~~~~~~~~~~~~
compilation terminated.
mingw32-make.exe[3]: *** [deps\hiredis\CMakeFiles\hiredis.dir\build.make:84: deps/hiredis/CMakeFiles/hiredis.dir/net.c.obj] Error 1
mingw32-make.exe[3]: *** Waiting for unfinished jobs....

希望添加由Make转换成CMake详细步骤

作者好,按照你的说明文档,的确可以使用Clion运行Redis的源码程序,但是特别希望知道你是如何将原来的Make程序转换成CMake程序的,希望可以添加更详细的说明文档,感谢分享,谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.