Why do I need Cmake?
Easy to answer. If you need to work with open source libraries as OpenCV, Assimp, GLEW, Bullet, probably you will find a CMakeLists.txt among source and header files. It is like a script that helps you to build the library on your computer. "But why do I need to compile it in my PC?". Because the precompiled libraries may not link to your code, or they may not even be avaiable for download. So, in order to avoid unnecessary headaches, we build our own binary version.
Sometimes you need to compile the library, but there is no CMakeLists.txt. Instead, there is a "install.sh", which is a shell file. On Linux, you simply execute it through command line. On Windows, you need Cygwin to do the same.
No comments:
Post a Comment