Commit Graph

3 Commits

Author SHA1 Message Date
Brad King
4394464501 Add deprecation warnings for policies CMP0129 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.23 and below to encourage projects to port
away from setting policies to OLD.
2024-06-05 13:19:07 -04:00
Brad King
2eb4382d6b Tests: Modernize RunCMake.CMP0129 test conventions and conditions 2024-06-05 13:16:36 -04:00
makise-homura
3958ed878f LCC: Add policy CMP0129 regarding interpreting LCC as GNU
Due to MCST LCC compiler identification is now changed to LCC,
there should be a way for old projects to still identify it as GNU,
as it was before.
This commits adds the policy:
CMP0129: Compiler id for MCST LCC compilers is now LCC, not GNU.
This policy controls such a behavior.
OLD behaivior is to treat LCC as GNU, NEW is to treat is as LCC.
2021-10-21 17:24:22 +03:00