c++ - ALL_BUILD 和 ZERO_CHECK 是什么,我需要它们吗?

标签 c++ visual-studio cmake

我创建了一个简单的 CMakeLists.txt:

cmake_minimum_required(VERSION 2.8)
project (HelloWorld)
add_executable (HelloWorld main.cpp)

但是,当我从 CMake 生成 VS2012 或 VS2010 项目时,我得到了这 2 个附加条目 - ALL_BUILD 和 ZERO_CHECK。 我不明白他们的目的,我需要他们吗?

enter image description here

最佳答案

来自 https://cmake.org/pipermail/cmake/2008-November/025448.html :

Armin Berres — 11/22/2008, 3:12:41 PM

ZERO_CHECK will rerun cmake. You can/should execute this after changing something on your CMake files.

ALL_BUILD is simply a target which builds all and everything project in the active solution, I guess one can compare it to "make all".

关于c++ - ALL_BUILD 和 ZERO_CHECK 是什么,我需要它们吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27175754/

相关文章:

c++ - 比较算法的执行时间 : why does the order of execution matter?

c++ - 如果用户不小心给出了错误的数据类型,cin 如何工作?

c++ - 我应该使用什么结构来模拟用于桌面测试的嵌入式系统类?

c++ - cmake:外部项目更新和离线工作

c++ - 与 Wt 示例组合时的链接错误

c++ - 无法在阵列添加和性能问题 CPU 与 GPU 中更改超过 10000 的阵列大小

c++ - 预处理器#if 语句的工具/解析器?

c++ - Visual Studio 2012 上的 WildMagic 5.9

visual-studio - 即使已登录,Visual Studio 仍不断请求选择 azure 帐户

css - 如何强制 Visual Studio 在 UTF-8 编码的 CSS 文件开头遵守 BOM?