mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
Add deprecation warnings for policies CMP0120 and below
The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.20 and below to encourage projects to port away from setting policies to OLD.
This commit is contained in:
@@ -4613,7 +4613,7 @@ bool cmMakefile::SetPolicy(cmPolicies::PolicyID id,
|
||||
}
|
||||
|
||||
// Deprecate old policies.
|
||||
if (status == cmPolicies::OLD && id <= cmPolicies::CMP0114 &&
|
||||
if (status == cmPolicies::OLD && id <= cmPolicies::CMP0120 &&
|
||||
!(this->GetCMakeInstance()->GetIsInTryCompile() &&
|
||||
(
|
||||
// Policies set by cmCoreTryCompile::TryCompileCode.
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
^CMake Error at CMP0115\.cmake:[0-9]+ \(add_executable\):
|
||||
^CMake Deprecation Warning at CMakeLists\.txt:[0-9]+ \(cmake_minimum_required\):
|
||||
The OLD behavior for policy CMP0115 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
+
|
||||
CMake Error at CMP0115\.cmake:[0-9]+ \(add_executable\):
|
||||
Cannot find source file:
|
||||
|
||||
noexist
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^CMake Warning \(dev\) at CMP0116-Mixed\.cmake:1 \(add_custom_command\):
|
||||
^CMake Deprecation Warning at CMP0116-Mixed\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0116 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
CMake Warning \(dev\) at CMP0116-Mixed\.cmake:1 \(add_custom_command\):
|
||||
Policy CMP0116 is not set: Ninja generators transform DEPFILEs from
|
||||
add_custom_command\(\)\. Run "cmake --help-policy CMP0116" for policy
|
||||
details\. Use the cmake_policy command to set the policy and suppress this
|
||||
|
||||
8
Tests/RunCMake/CMP0116/CMP0116-OLD-NOWARN-stderr.txt
Normal file
8
Tests/RunCMake/CMP0116/CMP0116-OLD-NOWARN-stderr.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
^CMake Deprecation Warning at CMakeLists\.txt:[0-9]+ \(cmake_minimum_required\):
|
||||
The OLD behavior for policy CMP0116 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.$
|
||||
8
Tests/RunCMake/CMP0116/CMP0116-OLD-WARN-stderr.txt
Normal file
8
Tests/RunCMake/CMP0116/CMP0116-OLD-WARN-stderr.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
^CMake Deprecation Warning at CMakeLists\.txt:[0-9]+ \(cmake_minimum_required\):
|
||||
The OLD behavior for policy CMP0116 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.$
|
||||
@@ -1,4 +1,15 @@
|
||||
^prop: `0`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test1\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
prop: `0`
|
||||
CMake Error at CMP0118-Common-Test1\.cmake:[0-9]+ \(target_sources\):
|
||||
Cannot find source file:
|
||||
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_source0\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test10\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_source0\.txt: # 1a # GENERATED = `1`
|
||||
Generated_source0\.txt: # 1b # GENERATED = `1`
|
||||
Generated_source0\.txt: # 2a # GENERATED = `1`
|
||||
Generated_source0\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_source0\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test11\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_source0\.txt: # 1a # GENERATED = `1`
|
||||
Generated_source0\.txt: # 1b # GENERATED = `1`
|
||||
Generated_source0\.txt: # 2a # GENERATED = `1`
|
||||
Generated_source0\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^CMake Error at subdir-Common-Test12/CMakeLists\.txt:[0-9]+ \(add_custom_command\):
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test12\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
CMake Error at subdir-Common-Test12/CMakeLists\.txt:[0-9]+ \(add_custom_command\):
|
||||
TARGET 'custom[4-6]' was not created in this directory\.
|
||||
+
|
||||
CMake Error at subdir-Common-Test12/CMakeLists\.txt:[0-9]+ \(add_custom_command\):
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^CMake Error at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(add_custom_command\):
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test13\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
CMake Error at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(add_custom_command\):
|
||||
TARGET 'custom[4-6]' was not created in this directory\.
|
||||
+
|
||||
CMake Error at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(add_custom_command\):
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_source0\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test14\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_source0\.txt: # 1a # GENERATED = `1`
|
||||
Generated_source0\.txt: # 1b # GENERATED = `1`
|
||||
Generated_source0\.txt: # 2a # GENERATED = `1`
|
||||
Generated_source0\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_source0\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test15\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_source0\.txt: # 1a # GENERATED = `1`
|
||||
Generated_source0\.txt: # 1b # GENERATED = `1`
|
||||
Generated_source0\.txt: # 2a # GENERATED = `1`
|
||||
Generated_source0\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1 +1,12 @@
|
||||
^prop: `1`$
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test2\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
prop: `1`$
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_with_full_path1\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test3\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_with_full_path1\.txt: # 1a # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 1b # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 2a # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_with_full_path1\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test3b\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_with_full_path1\.txt: # 1a # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 1b # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 2a # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_with_full_path1\.txt: # 1a # GENERATED = `0`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test4\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_with_full_path1\.txt: # 1a # GENERATED = `0`
|
||||
Generated_with_full_path1\.txt: # 1b # GENERATED = `0`
|
||||
Generated_with_full_path1\.txt: # 2a # GENERATED = `0`
|
||||
Generated_with_full_path1\.txt: # 2b # GENERATED = `0`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_with_full_path1\.txt: # 1a # GENERATED = `0`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test4b\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_with_full_path1\.txt: # 1a # GENERATED = `0`
|
||||
Generated_with_full_path1\.txt: # 1b # GENERATED = `0`
|
||||
Generated_with_full_path1\.txt: # 2a # GENERATED = `0`
|
||||
Generated_with_full_path1\.txt: # 2b # GENERATED = `0`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_with_full_path1\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test5\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_with_full_path1\.txt: # 1a # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 1b # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 2a # GENERATED = `1`
|
||||
Generated_with_full_path1\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_source1\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test6\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_source1\.txt: # 1a # GENERATED = `1`
|
||||
Generated_source1\.txt: # 1b # GENERATED = `1`
|
||||
Generated_source1\.txt: # 2a # GENERATED = `1`
|
||||
Generated_source1\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_source1\.txt: # 1a # GENERATED = `1`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test7\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_source1\.txt: # 1a # GENERATED = `1`
|
||||
Generated_source1\.txt: # 1b # GENERATED = `1`
|
||||
Generated_source1\.txt: # 2a # GENERATED = `1`
|
||||
Generated_source1\.txt: # 2b # GENERATED = `1`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_source1\.txt: # 1a # GENERATED = `0`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test8\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_source1\.txt: # 1a # GENERATED = `0`
|
||||
Generated_source1\.txt: # 1b # GENERATED = `0`
|
||||
Generated_source1\.txt: # 2a # GENERATED = `0`
|
||||
Generated_source1\.txt: # 2b # GENERATED = `0`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^Generated_source1\.txt: # 1a # GENERATED = `0`
|
||||
^CMake Deprecation Warning at CMP0118-OLD-Test9\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
Generated_source1\.txt: # 1a # GENERATED = `0`
|
||||
Generated_source1\.txt: # 1b # GENERATED = `0`
|
||||
Generated_source1\.txt: # 2a # GENERATED = `0`
|
||||
Generated_source1\.txt: # 2b # GENERATED = `0`
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
^CMake Error at GenInSubdir/CMakeLists\.txt:[0-9]+ \(target_sources\):
|
||||
^CMake Deprecation Warning at GenInSubdir-OLD\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0118 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
+
|
||||
CMake Error at GenInSubdir/CMakeLists\.txt:[0-9]+ \(target_sources\):
|
||||
Cannot find source file:
|
||||
|
||||
[^
|
||||
|
||||
10
Tests/RunCMake/CMP0119/CMP0119-OLD-stderr.txt
Normal file
10
Tests/RunCMake/CMP0119/CMP0119-OLD-stderr.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
^CMake Deprecation Warning at CMP0119-OLD\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0119 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)$
|
||||
10
Tests/RunCMake/MSVCRuntimeTypeInfo/CMP0117-OLD-stderr.txt
Normal file
10
Tests/RunCMake/MSVCRuntimeTypeInfo/CMP0117-OLD-stderr.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
^CMake Deprecation Warning at CMP0117-OLD\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0117 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)$
|
||||
8
Tests/RunCMake/Ninja/QtAutoMocDeps-stderr.txt
Normal file
8
Tests/RunCMake/Ninja/QtAutoMocDeps-stderr.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
^CMake Deprecation Warning at QtSubDir1/CMakeLists\.txt:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0116 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.$
|
||||
@@ -0,0 +1,10 @@
|
||||
^CMake Deprecation Warning at CMP0120-OLD-Direct\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0120 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)$
|
||||
@@ -0,0 +1,10 @@
|
||||
^CMake Deprecation Warning at CMP0120-OLD\.cmake:[0-9]+ \(cmake_policy\):
|
||||
The OLD behavior for policy CMP0120 will be removed from a future version
|
||||
of CMake\.
|
||||
|
||||
The cmake-policies\(7\) manual explains that the OLD behaviors of all
|
||||
policies are deprecated and that a policy should be set to OLD only under
|
||||
specific short-term circumstances\. Projects should be ported to the NEW
|
||||
behavior and not rely on setting a policy to OLD\.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)$
|
||||
Reference in New Issue
Block a user