Reprint Address: http://blog.csdn.net/jtop0/article/details/6167432
CMake is an engineering building tool for Cross-platform software development and maintenance processes. "Build your project on each system without having to worry about how to create executable files and dynamic libraries."
CMake compared to other similar tools (shell scripts, makefiles, jam files, engineering based on complex scripts like autoconf and Automake), CMake makes fewer assumptions about the underlying system. CMake is implemented using standard C + +, so he can run on most modern operating systems. It does not use tools other than the local build tools of the system.
General CMake Construction on Vision studio2008 (. sln "solution") contains three projects (project), respectively:all_build; the project itself : Hellocmake ; Zero_check. Hellocmake Needless to say, the project that he wants to build; All_build is the project that manages the whole project; zero_ Check is a real-time monitoring of CMakeLists.txt file changes in the project, once the contents of CMakeLists.txt changes, Zero_check will tell the compiler to rebuild the entire engineering environment. Refer to Http://blog.163.com/jacky_ling0/blog/static/1373925712011072375418/?latestBlog
If we have only one project (project) in the solution (solution), then the All_build and Zero_check projects can be removed.
Even CMakelists.txt can "remove" it.
Finally remember to Save the disk again, and then press F7 "Build" to OK.
About CMake Learning Good blog See below:
Http://blog.csdn.net/Bowater/archive/2008/05/18/2456732.aspx
Http://blog.163.com/jacky_ling0/blog/static/1373925712011072375418/?latestBlog