什么是ALL_BUILD和ZERO_CHECK,我需要它们吗? [英] What are ALL_BUILD and ZERO_CHECK and do I need them?

查看:1843
本文介绍了什么是ALL_BUILD和ZERO_CHECK,我需要它们吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I've created a simple CMakeLists.txt:

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

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

When I generate a VS2012 or VS2010 project from CMake, however, I get these 2 additional entries - ALL_BUILD and ZERO_CHECK. I don't understand their purpose, do I need them?

推荐答案

=https://cmake.org/pipermail/cmake/2008-November/025448.html> https://cmake.org/pipermail/cmake/2008-November/025448.html :

After some more searching, I found the answer at https://cmake.org/pipermail/cmake/2008-November/025448.html:


Armin Berres - 11/22/2008,3:12:41

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

ZERO_CHECK将重新运行cmake。你可以/应该执行此后
改变你的CMake文件的东西。

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

ALL_BUILD只是一个目标,建立所有和一切项目
在活动解决方案,我想可以将其与make all进行比较。

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".

这篇关于什么是ALL_BUILD和ZERO_CHECK,我需要它们吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆