mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-21 14:40:48 +08:00
CMP0118: Revise documentation to describe actual behavior
The policy was originally intended to make the `GENERATED` source file property globally visible, but the implementation didn't fully achieve that goal. Revise the documentation to describe what it actually does. Issue: #25437
This commit is contained in:
@@ -171,7 +171,7 @@ Policies Introduced by CMake 3.20
|
|||||||
|
|
||||||
CMP0120: The WriteCompilerDetectionHeader module is removed. </policy/CMP0120>
|
CMP0120: The WriteCompilerDetectionHeader module is removed. </policy/CMP0120>
|
||||||
CMP0119: LANGUAGE source file property explicitly compiles as language. </policy/CMP0119>
|
CMP0119: LANGUAGE source file property explicitly compiles as language. </policy/CMP0119>
|
||||||
CMP0118: The GENERATED source file property is now visible in all directories. </policy/CMP0118>
|
CMP0118: GENERATED sources may be used across directories without manual marking. </policy/CMP0118>
|
||||||
CMP0117: MSVC RTTI flag /GR is not added to CMAKE_CXX_FLAGS by default. </policy/CMP0117>
|
CMP0117: MSVC RTTI flag /GR is not added to CMAKE_CXX_FLAGS by default. </policy/CMP0117>
|
||||||
CMP0116: Ninja generators transform DEPFILEs from add_custom_command(). </policy/CMP0116>
|
CMP0116: Ninja generators transform DEPFILEs from add_custom_command(). </policy/CMP0116>
|
||||||
CMP0115: Source file extensions must be explicit. </policy/CMP0115>
|
CMP0115: Source file extensions must be explicit. </policy/CMP0115>
|
||||||
|
@@ -3,25 +3,30 @@ CMP0118
|
|||||||
|
|
||||||
.. versionadded:: 3.20
|
.. versionadded:: 3.20
|
||||||
|
|
||||||
The :prop_sf:`GENERATED` source file property is now visible in all directories.
|
:prop_sf:`GENERATED` sources may be used across directories without manual marking.
|
||||||
|
|
||||||
|
In CMake 3.19 and below, the :prop_sf:`GENERATED` source file property,
|
||||||
|
like other source file properties, was scoped in every directory separately.
|
||||||
|
If a source file was generated in one directory, projects had to manually
|
||||||
|
set the ``GENERATED`` property in another directory in order to use the file.
|
||||||
|
|
||||||
Whether or not a source file is generated is an all-or-nothing global
|
Whether or not a source file is generated is an all-or-nothing global
|
||||||
property of the source. Consequently, the associated ``GENERATED``
|
property of the source: a source is either generated or it is not.
|
||||||
property is now visible from any directory scope, not only from the scope
|
CMake 3.20 and above prefer to allow source files generated in one directory
|
||||||
for which it was set.
|
to be used in other directories without manually marking them as ``GENERATED``.
|
||||||
|
|
||||||
Additionally, the ``GENERATED`` property may now be set only to boolean
|
Additionally, the ``GENERATED`` property may now be set only to boolean
|
||||||
values, and may not be turned off once turned on.
|
values, and may not be turned off once turned on. This policy provides
|
||||||
|
compatibility for projects that have not been updated for this behavior.
|
||||||
|
|
||||||
The ``OLD`` behavior of this policy is to only allow ``GENERATED`` to be
|
The ``OLD`` behavior of this policy is to allow generated files to be used
|
||||||
visible from the directory scope for which it was set. The ``NEW``
|
only in directories in which their ``GENERATED`` property has been turned on.
|
||||||
behavior on the other hand allows it to be visible from any scope.
|
The ``NEW`` behavior of this policy is to allow generated files to be used
|
||||||
|
in other directories without explicitly turning on the ``GENERATED`` property
|
||||||
|
for those directories.
|
||||||
|
|
||||||
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.20
|
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.20
|
||||||
.. |WARNS_OR_DOES_NOT_WARN| replace::
|
.. |WARNS_OR_DOES_NOT_WARN| replace::
|
||||||
does *not* warn with regard to visibility of the ``GENERATED``
|
warns about setting the ``GENERATED`` property to a non-boolean value
|
||||||
property, but does warn about setting the ``GENERATED`` property
|
|
||||||
to a non-boolean value,
|
|
||||||
.. include:: STANDARD_ADVICE.txt
|
.. include:: STANDARD_ADVICE.txt
|
||||||
|
|
||||||
.. include:: DEPRECATED.txt
|
.. include:: DEPRECATED.txt
|
||||||
|
@@ -4,7 +4,11 @@ GENERATED
|
|||||||
Is this source file generated as part of the build or CMake process.
|
Is this source file generated as part of the build or CMake process.
|
||||||
|
|
||||||
.. versionchanged:: 3.20
|
.. versionchanged:: 3.20
|
||||||
The GENERATED source file property is now visible in all directories.
|
Turning on the ``GENERATED`` source file property in one directory allows
|
||||||
|
the associated source file to be used across directories without the need
|
||||||
|
to manually setting that property for other directory scopes, too.
|
||||||
|
Additionally, it may now be set only to boolean values, and may not be
|
||||||
|
turned off once turned on. See policy :policy:`CMP0118`.
|
||||||
|
|
||||||
Tells the internal CMake engine that a source file is generated by an outside
|
Tells the internal CMake engine that a source file is generated by an outside
|
||||||
process such as another build step, or the execution of CMake itself.
|
process such as another build step, or the execution of CMake itself.
|
||||||
@@ -38,11 +42,3 @@ be shown. For the special case of sources generated by CMake's :prop_tgt:`AUTOMO
|
|||||||
:prop_gbl:`AUTORCC_SOURCE_GROUP` and :prop_gbl:`AUTOUIC_SOURCE_GROUP` target
|
:prop_gbl:`AUTORCC_SOURCE_GROUP` and :prop_gbl:`AUTOUIC_SOURCE_GROUP` target
|
||||||
properties may influence where the generated sources are grouped in the project's
|
properties may influence where the generated sources are grouped in the project's
|
||||||
file lists.
|
file lists.
|
||||||
|
|
||||||
.. note::
|
|
||||||
|
|
||||||
Starting with CMake 3.20 the ``GENERATED`` source file property can be set
|
|
||||||
and retrieved from any directory scope. It is an all-or-nothing property.
|
|
||||||
It also can no longer be removed or unset if it was set to ``TRUE``. Policy
|
|
||||||
:policy:`CMP0118` was introduced to allow supporting the ``OLD`` behavior
|
|
||||||
for some time.
|
|
||||||
|
@@ -147,8 +147,9 @@ Properties
|
|||||||
for the associated :variable:`CMAKE_EXPORT_COMPILE_COMMANDS` variable
|
for the associated :variable:`CMAKE_EXPORT_COMPILE_COMMANDS` variable
|
||||||
to allow for configuration of exporting compile commands per target.
|
to allow for configuration of exporting compile commands per target.
|
||||||
|
|
||||||
* The :prop_sf:`GENERATED` source-file property is now visible
|
* Generated sources may be used across directories without manual marking.
|
||||||
from any directory scope, regardless of the scope in which it is set.
|
Additionally, the :prop_sf:`GENERATED` source file property can no longer be
|
||||||
|
turned off once turned on, nor can it be set to other than boolean values.
|
||||||
See policy :policy:`CMP0118`.
|
See policy :policy:`CMP0118`.
|
||||||
|
|
||||||
* The :prop_tgt:`UNITY_BUILD_UNIQUE_ID` target property
|
* The :prop_tgt:`UNITY_BUILD_UNIQUE_ID` target property
|
||||||
|
@@ -349,10 +349,10 @@ class cmMakefile;
|
|||||||
SELECT(POLICY, CMP0117, \
|
SELECT(POLICY, CMP0117, \
|
||||||
"MSVC RTTI flag /GR is not added to CMAKE_CXX_FLAGS by default.", 3, \
|
"MSVC RTTI flag /GR is not added to CMAKE_CXX_FLAGS by default.", 3, \
|
||||||
20, 0, cmPolicies::WARN) \
|
20, 0, cmPolicies::WARN) \
|
||||||
SELECT( \
|
SELECT(POLICY, CMP0118, \
|
||||||
POLICY, CMP0118, \
|
"GENERATED sources may be used across directories without manual " \
|
||||||
"The GENERATED source file property is now visible in all directories.", \
|
"marking.", \
|
||||||
3, 20, 0, cmPolicies::WARN) \
|
3, 20, 0, cmPolicies::WARN) \
|
||||||
SELECT(POLICY, CMP0119, \
|
SELECT(POLICY, CMP0119, \
|
||||||
"LANGUAGE source file property explicitly compiles as specified " \
|
"LANGUAGE source file property explicitly compiles as specified " \
|
||||||
"language.", \
|
"language.", \
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
^((CMake Warning \(dev\) at subdir-Common-Test11/CMakeLists\.txt:[0-9]+ \(set_property\):
|
^((CMake Warning \(dev\) at subdir-Common-Test11/CMakeLists\.txt:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -9,8 +9,8 @@
|
|||||||
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
||||||
+)+
|
+)+
|
||||||
(CMake Warning \(dev\) at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_subdirectory\):
|
(CMake Warning \(dev\) at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_subdirectory\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
|
@@ -8,8 +8,8 @@ CMake Error at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(add_custom_command\
|
|||||||
TARGET 'custom[4-6]' was not created in this directory\.
|
TARGET 'custom[4-6]' was not created in this directory\.
|
||||||
+
|
+
|
||||||
((CMake Warning \(dev\) at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(set_property\):
|
((CMake Warning \(dev\) at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -18,8 +18,8 @@ CMake Error at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(add_custom_command\
|
|||||||
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
||||||
+)+
|
+)+
|
||||||
(CMake Warning \(dev\) at CMP0118-Common-Test13\.cmake:[0-9]+ \(add_subdirectory\):
|
(CMake Warning \(dev\) at CMP0118-Common-Test13\.cmake:[0-9]+ \(add_subdirectory\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
^((CMake Warning \(dev\) at subdir-Common-Test15/CMakeLists\.txt:[0-9]+ \(set_property\):
|
^((CMake Warning \(dev\) at subdir-Common-Test15/CMakeLists\.txt:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -9,8 +9,8 @@
|
|||||||
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
||||||
+)+
|
+)+
|
||||||
(CMake Warning \(dev\) at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_subdirectory\):
|
(CMake Warning \(dev\) at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_subdirectory\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
^CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
^CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -18,8 +18,8 @@ Generated_with_full_path1\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_path1\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_path1\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_path1\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_path1\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -37,8 +37,8 @@ Generated_with_full_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -56,8 +56,8 @@ Generated_with_full_path3\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_path3\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_path3\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_path3\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_path3\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -75,8 +75,8 @@ Generated_with_relative_path1\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_relative_path1\.txt: # 3a # GENERATED = `0`
|
Generated_with_relative_path1\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_relative_path1\.txt: # 3b # GENERATED = `0`
|
Generated_with_relative_path1\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -94,8 +94,8 @@ Generated_with_relative_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_relative_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_relative_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_relative_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_relative_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -113,8 +113,8 @@ Generated_with_relative_path3\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_relative_path3\.txt: # 3a # GENERATED = `0`
|
Generated_with_relative_path3\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_relative_path3\.txt: # 3b # GENERATED = `0`
|
Generated_with_relative_path3\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -132,8 +132,8 @@ Generated_with_full_source_path1\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_source_path1\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_source_path1\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_source_path1\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_source_path1\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -151,8 +151,8 @@ Generated_with_full_source_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_source_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_source_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_source_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_source_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
^CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
^CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -18,8 +18,8 @@ Generated_with_full_path1\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_path1\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_path1\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_path1\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_path1\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -37,8 +37,8 @@ Generated_with_full_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -56,8 +56,8 @@ Generated_with_full_path3\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_path3\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_path3\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_path3\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_path3\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -75,8 +75,8 @@ Generated_with_relative_path1\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_relative_path1\.txt: # 3a # GENERATED = `0`
|
Generated_with_relative_path1\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_relative_path1\.txt: # 3b # GENERATED = `0`
|
Generated_with_relative_path1\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -94,8 +94,8 @@ Generated_with_relative_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_relative_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_relative_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_relative_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_relative_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -113,8 +113,8 @@ Generated_with_relative_path3\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_relative_path3\.txt: # 3a # GENERATED = `0`
|
Generated_with_relative_path3\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_relative_path3\.txt: # 3b # GENERATED = `0`
|
Generated_with_relative_path3\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -132,8 +132,8 @@ Generated_with_full_source_path1\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_source_path1\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_source_path1\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_source_path1\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_source_path1\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -151,8 +151,8 @@ Generated_with_full_source_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_source_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_source_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_source_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_source_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
|
@@ -5,8 +5,8 @@ Generated_with_full_path1\.txt: # 2b # GENERATED = `1`
|
|||||||
Generated_with_full_path1\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_path1\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_path1\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_path1\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -24,8 +24,8 @@ Generated_with_full_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -57,8 +57,8 @@ Generated_with_relative_path1\.txt: # 2b # GENERATED = `1`
|
|||||||
Generated_with_relative_path1\.txt: # 3a # GENERATED = `0`
|
Generated_with_relative_path1\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_relative_path1\.txt: # 3b # GENERATED = `0`
|
Generated_with_relative_path1\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -76,8 +76,8 @@ Generated_with_relative_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_relative_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_relative_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_relative_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_relative_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -109,8 +109,8 @@ Generated_with_full_source_path1\.txt: # 2b # GENERATED = `1`
|
|||||||
Generated_with_full_source_path1\.txt: # 3a # GENERATED = `1`
|
Generated_with_full_source_path1\.txt: # 3a # GENERATED = `1`
|
||||||
Generated_with_full_source_path1\.txt: # 3b # GENERATED = `1`
|
Generated_with_full_source_path1\.txt: # 3b # GENERATED = `1`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -128,8 +128,8 @@ Generated_with_full_source_path2\.txt: # 2b # GENERATED = `0`
|
|||||||
Generated_with_full_source_path2\.txt: # 3a # GENERATED = `0`
|
Generated_with_full_source_path2\.txt: # 3a # GENERATED = `0`
|
||||||
Generated_with_full_source_path2\.txt: # 3b # GENERATED = `0`
|
Generated_with_full_source_path2\.txt: # 3b # GENERATED = `0`
|
||||||
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
^((CMake Warning \(dev\) at subdir-Common-Test7/CMakeLists\.txt:[0-9]+ \(set_property\):
|
^((CMake Warning \(dev\) at subdir-Common-Test7/CMakeLists\.txt:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -9,8 +9,8 @@
|
|||||||
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
||||||
+)+
|
+)+
|
||||||
(CMake Warning \(dev\) at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_subdirectory\):
|
(CMake Warning \(dev\) at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_subdirectory\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
^((CMake Warning \(dev\) at subdir-Common-Test9/CMakeLists\.txt:[0-9]+ \(set_property\):
|
^((CMake Warning \(dev\) at subdir-Common-Test9/CMakeLists\.txt:[0-9]+ \(set_property\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
@@ -9,8 +9,8 @@
|
|||||||
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
This warning is for project developers\. Use -Wno-dev to suppress it\.
|
||||||
+)+
|
+)+
|
||||||
(CMake Warning \(dev\) at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_subdirectory\):
|
(CMake Warning \(dev\) at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_subdirectory\):
|
||||||
Policy CMP0118 is not set: The GENERATED source file property is now
|
Policy CMP0118 is not set: GENERATED sources may be used across directories
|
||||||
visible in all directories\. Run "cmake --help-policy CMP0118" for policy
|
without manual marking\. Run "cmake --help-policy CMP0118" for policy
|
||||||
details\. Use the cmake_policy command to set the policy and suppress this
|
details\. Use the cmake_policy command to set the policy and suppress this
|
||||||
warning\.
|
warning\.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user