mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
Merge topic 'post-rel-dev'
1b11f48741Configure CMake itself with policies through CMake 3.26ee80960f78export: Increase maximum policy version in exported files to 3.269ba9b6c658Add deprecation warnings for policies CMP0120 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8546
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||
|
||||
cmake_minimum_required(VERSION 3.13...3.25 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.13...3.26 FATAL_ERROR)
|
||||
set(CMAKE_USER_MAKE_RULES_OVERRIDE_C ${CMAKE_CURRENT_SOURCE_DIR}/Source/Modules/OverrideC.cmake)
|
||||
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX ${CMAKE_CURRENT_SOURCE_DIR}/Source/Modules/OverrideCXX.cmake)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.13...3.24 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.13...3.26 FATAL_ERROR)
|
||||
project(CheckCurses C)
|
||||
|
||||
set(CURSES_NEED_NCURSES TRUE)
|
||||
|
||||
@@ -955,13 +955,13 @@ void cmExportFileGenerator::GeneratePolicyHeaderCode(std::ostream& os)
|
||||
|
||||
// Isolate the file policy level.
|
||||
// Support CMake versions as far back as 2.6 but also support using NEW
|
||||
// policy settings for up to CMake 3.25 (this upper limit may be reviewed
|
||||
// policy settings for up to CMake 3.26 (this upper limit may be reviewed
|
||||
// and increased from time to time). This reduces the opportunity for CMake
|
||||
// warnings when an older export file is later used with newer CMake
|
||||
// versions.
|
||||
/* clang-format off */
|
||||
os << "cmake_policy(PUSH)\n"
|
||||
<< "cmake_policy(VERSION 2.8.3...3.25)\n";
|
||||
<< "cmake_policy(VERSION 2.8.3...3.26)\n";
|
||||
/* clang-format on */
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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\.$
|
||||
@@ -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:
|
||||
|
||||
[^
|
||||
|
||||
@@ -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\)$
|
||||
@@ -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\)$
|
||||
@@ -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\)$
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
if(NOT CMake_SOURCE_DIR)
|
||||
set(CMakeDeveloperReference_STANDALONE 1)
|
||||
cmake_minimum_required(VERSION 3.13...3.25 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.13...3.26 FATAL_ERROR)
|
||||
get_filename_component(tmp "${CMAKE_CURRENT_SOURCE_DIR}" PATH)
|
||||
get_filename_component(CMake_SOURCE_DIR "${tmp}" PATH)
|
||||
include(${CMake_SOURCE_DIR}/Modules/CTestUseLaunchers.cmake)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
if(NOT CMake_SOURCE_DIR)
|
||||
set(CMakeHelp_STANDALONE 1)
|
||||
cmake_minimum_required(VERSION 3.13...3.25 FATAL_ERROR)
|
||||
cmake_minimum_required(VERSION 3.13...3.26 FATAL_ERROR)
|
||||
get_filename_component(tmp "${CMAKE_CURRENT_SOURCE_DIR}" PATH)
|
||||
get_filename_component(CMake_SOURCE_DIR "${tmp}" PATH)
|
||||
include(${CMake_SOURCE_DIR}/Modules/CTestUseLaunchers.cmake)
|
||||
|
||||
Reference in New Issue
Block a user