Brief introduction of cmake generating all in vs Project_ BUILD、INSTALL、ZERO_ Check function!!

ALL_BUILD is used to compile the entire project. ALL_BUILD is the default target in a Makefile and builds the entire project, excluding install, unit tests, etc.
Zero_check monitors cmakelists.txt and tells the compiler to rebuild the entire project environment if cmakelists.txt changes. Zero_check is the first build target to execute, checking whether the generated VS project is expired compared to cMakelists.txt, and if it is, the VS project will be regenerated first. All other targets depend on this ZERO_CHECK, so building the other targets takes the ZERO_CHECK first, ensuring the immediacy of the generated project. Of course, you can also run this goal by hand.
Install CMAKE_INSTALL_DIR = INSTALL CMAKE_INSTALL_DIR = INSTALL CMAKE_INSTALL_DIR = INSTALL CMAKE_INSTALL_DIR = INSTALL CMAKE_INSTALL_DIR = INSTALL cmake See CMake’s INSTALL directive for details.

Read More: