mirror of
https://github.com/reactos/CMake.git
synced 2025-03-05 02:17:05 +00:00
Merge topic 'cmp0040-wording'
a1b1f1a2 CMP0040: Clarify policy warning to match documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1415
This commit is contained in:
commit
b779b8e85f
@ -2,7 +2,7 @@ CMP0040
|
||||
-------
|
||||
|
||||
The target in the ``TARGET`` signature of :command:`add_custom_command`
|
||||
must exist and must be defined in current directory.
|
||||
must exist and must be defined in the current directory.
|
||||
|
||||
CMake 2.8.12 and lower silently ignored a custom command created with
|
||||
the ``TARGET`` signature of :command:`add_custom_command`
|
||||
|
@ -126,7 +126,7 @@ class cmMakefile;
|
||||
3, 0, 0, cmPolicies::WARN) \
|
||||
SELECT(POLICY, CMP0040, \
|
||||
"The target in the TARGET signature of add_custom_command() must " \
|
||||
"exist.", \
|
||||
"exist and must be defined in the current directory.", \
|
||||
3, 0, 0, cmPolicies::WARN) \
|
||||
SELECT(POLICY, CMP0041, \
|
||||
"Error on relative include with generator expression.", 3, 0, 0, \
|
||||
|
@ -1,8 +1,8 @@
|
||||
CMake Warning \(dev\) at CMP0040-WARN-missing-target.cmake:2 \(add_custom_command\):
|
||||
Policy CMP0040 is not set: The target in the TARGET signature of
|
||||
add_custom_command\(\) must exist. Run "cmake --help-policy CMP0040" for
|
||||
policy details. Use the cmake_policy command to set the policy and
|
||||
suppress this warning.
|
||||
add_custom_command\(\) must exist and must be defined in the current
|
||||
directory. Run "cmake --help-policy CMP0040" for policy details. Use the
|
||||
cmake_policy command to set the policy and suppress this warning.
|
||||
+
|
||||
No TARGET 'foobar' has been created in this directory.
|
||||
Call Stack \(most recent call first\):
|
||||
|
Loading…
x
Reference in New Issue
Block a user