diff options
author | Deniz Bahadir <deniz@code.bahadir.email> | 2024-03-19 23:42:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-21 15:37:46 (GMT) |
commit | 1dabbbb5e0961edf453f939daec16d156f0666f9 (patch) | |
tree | 8ef37fc21e02244c0bbb7fde3b46f0fc4e73317a /Source/cmPolicies.h | |
parent | d2f5b79795883f5ba77a3feab4feff977a666aa7 (diff) | |
download | CMake-1dabbbb5e0961edf453f939daec16d156f0666f9.zip CMake-1dabbbb5e0961edf453f939daec16d156f0666f9.tar.gz CMake-1dabbbb5e0961edf453f939daec16d156f0666f9.tar.bz2 |
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
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r-- | Source/cmPolicies.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 6d86516..43ea993 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -349,10 +349,10 @@ class cmMakefile; SELECT(POLICY, CMP0117, \ "MSVC RTTI flag /GR is not added to CMAKE_CXX_FLAGS by default.", 3, \ 20, 0, cmPolicies::WARN) \ - SELECT( \ - POLICY, CMP0118, \ - "The GENERATED source file property is now visible in all directories.", \ - 3, 20, 0, cmPolicies::WARN) \ + SELECT(POLICY, CMP0118, \ + "GENERATED sources may be used across directories without manual " \ + "marking.", \ + 3, 20, 0, cmPolicies::WARN) \ SELECT(POLICY, CMP0119, \ "LANGUAGE source file property explicitly compiles as specified " \ "language.", \ |