four examples from CMAKE PRACTICE:
- cmake_basic: basic usage example of cmake
- cmake_lib: pack code into a library
- cmake_link_lib: link library
- cmake_module: use cmake modules, but some bug exists
the library compiled is located in /home/kpm/bin, default location is /usr/local