VS environment, the role of CMake all_build projects and Zero_check projects

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.