This tutorial is an example of how to use cmake in your project. You can download this project and then build it to have a try cmake.
- mkdir build && cd build
- cmake ../
- make
After build completed, you can find the binary at build/bin/ directory, and libraris (static lib and dynamic lib) at build/lib/ directory.