<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cmake.git/Tests/RunCMake/target_link_libraries, branch master</title>
<subtitle>gitlab.kitware.com: cmake/cmake.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/'/>
<entry>
<title>Deprecate compatibility with CMake versions older than 3.5</title>
<updated>2023-02-11T11:25:11+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-02-09T14:35:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=3a4791548dfeb69e645e8fea8e669473d4f868cf'/>
<id>3a4791548dfeb69e645e8fea8e669473d4f868cf</id>
<content type='text'>
Issue a deprecation warning on calls to `cmake_minimum_required` or
`cmake_policy` that set policies based on versions older than 3.5.
Note that the effective policy version includes `...&lt;max&gt;` treatment.
Update the check from commit 5845c218d7 (Deprecate compatibility with
CMake versions older than 2.8.12, 2020-06-12, v3.19.0-rc1~629^2).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue a deprecation warning on calls to `cmake_minimum_required` or
`cmake_policy` that set policies based on versions older than 3.5.
Note that the effective policy version includes `...&lt;max&gt;` treatment.
Update the check from commit 5845c218d7 (Deprecate compatibility with
CMake versions older than 2.8.12, 2020-06-12, v3.19.0-rc1~629^2).
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests/RunCMake: Update cmake_minimum_required versions</title>
<updated>2023-02-11T11:24:22+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-02-06T19:23:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=1edf1385064d67885bafe09d472f82bf62d34641'/>
<id>1edf1385064d67885bafe09d472f82bf62d34641</id>
<content type='text'>
For policy-specific tests, use the version before the policy was
introduced.  Otherwise, use 3.5 where possible.

Also, remove `cmake_minimum_required()` and `project()` calls from
individual cases where they are handled by `CMakeLists.txt`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For policy-specific tests, use the version before the policy was
introduced.  Otherwise, use 3.5 where possible.

Also, remove `cmake_minimum_required()` and `project()` calls from
individual cases where they are handled by `CMakeLists.txt`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add deprecation warnings for policies CMP0108 and below</title>
<updated>2022-10-12T16:40:52+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2022-10-12T15:52:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=c0e8bb5150b98a8003181b32396d0f3609bc6fce'/>
<id>c0e8bb5150b98a8003181b32396d0f3609bc6fce</id>
<content type='text'>
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.18 and below to encourage projects to port
away from setting policies to OLD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.18 and below to encourage projects to port
away from setting policies to OLD.
</pre>
</div>
</content>
</entry>
<entry>
<title>CMP0028: Report the target whose link interface has an offending item</title>
<updated>2021-12-16T21:43:17+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2021-12-16T17:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=ea050286e7f4b659518bf5b6c4adbddefa3cc9a6'/>
<id>ea050286e7f4b659518bf5b6c4adbddefa3cc9a6</id>
<content type='text'>
Previously items linked via the link interface of a dependency were
reported in CMP0028 messages as if directly linked by a target.
Clarify the messages to indicate that an offending item is actually
in the link interface of a given target, regardless of its consumer.

Move the check to the end of generation and look through the final set
of link implementations and link interfaces that were used for
generation.  This avoids repeating messages on link interfaces that
have multiple consumers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously items linked via the link interface of a dependency were
reported in CMP0028 messages as if directly linked by a target.
Clarify the messages to indicate that an offending item is actually
in the link interface of a given target, regardless of its consumer.

Move the check to the end of generation and look through the final set
of link implementations and link interfaces that were used for
generation.  This avoids repeating messages on link interfaces that
have multiple consumers.
</pre>
</div>
</content>
</entry>
<entry>
<title>CMP0028: Report backtrace to link item rather than target creation</title>
<updated>2021-12-16T17:45:27+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2021-12-16T17:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=a97c92e46eff516eb4642776dcf85bd646e63763'/>
<id>a97c92e46eff516eb4642776dcf85bd646e63763</id>
<content type='text'>
Now that we have proper backtraces for both `LINK_LIBRARIES` and
`INTERFACE_LINK_LIBRARIES` entries, we can report them in error
messages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we have proper backtraces for both `LINK_LIBRARIES` and
`INTERFACE_LINK_LIBRARIES` entries, we can report them in error
messages.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add deprecation warnings for policies CMP0081 and below</title>
<updated>2021-02-10T14:25:32+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2021-02-10T14:01:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=58ea0d12558b5607e81b1dfab1528bdf45393b3d'/>
<id>58ea0d12558b5607e81b1dfab1528bdf45393b3d</id>
<content type='text'>
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.13 and below to encourage projects to port
away from setting policies to OLD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.13 and below to encourage projects to port
away from setting policies to OLD.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmTarget: Raise error if imported target location is not set</title>
<updated>2020-08-21T12:38:39+00:00</updated>
<author>
<name>Raul Tambre</name>
<email>raul@tambre.ee</email>
</author>
<published>2020-08-08T10:17:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=359c500a2466ffc2507b81c0089bce18fd5debbb'/>
<id>359c500a2466ffc2507b81c0089bce18fd5debbb</id>
<content type='text'>
Previously we would synthesize &lt;TARGET_NAME&gt;-NOTFOUND as the location. This
would then end up on the link line and cause build failures.
Policy CMP0110 is added to control this behaviour.

Fixes #19080, #19943.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we would synthesize &lt;TARGET_NAME&gt;-NOTFOUND as the location. This
would then end up on the link line and cause build failures.
Policy CMP0110 is added to control this behaviour.

Fixes #19080, #19943.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests/RunCMake: Update cmake_minimum_required versions</title>
<updated>2020-06-18T13:52:05+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2020-06-11T10:34:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=9b99b4bfc8e9280c7334047cf95a84408d84e931'/>
<id>9b99b4bfc8e9280c7334047cf95a84408d84e931</id>
<content type='text'>
Use 3.3 or 2.8.12 where possible.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use 3.3 or 2.8.12 where possible.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: Split RunCMake.target_link_libraries test</title>
<updated>2020-06-17T12:02:33+00:00</updated>
<author>
<name>Marc Chevrier</name>
<email>marc.chevrier@gmail.com</email>
</author>
<published>2020-06-17T08:51:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=0951b1fe072da311e9adb55337ef364e2b6c01d0'/>
<id>0951b1fe072da311e9adb55337ef364e2b6c01d0</id>
<content type='text'>
Fixes: #20836
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: #20836
</pre>
</div>
</content>
</entry>
<entry>
<title>add_library/add_executable: allow local alias to imported targets</title>
<updated>2020-06-02T15:11:47+00:00</updated>
<author>
<name>Marc Chevrier</name>
<email>marc.chevrier@gmail.com</email>
</author>
<published>2020-05-28T11:51:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=056489d567b657bd1ebeae8bf78f4937f900b2e0'/>
<id>056489d567b657bd1ebeae8bf78f4937f900b2e0</id>
<content type='text'>
Fixes: #20641
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: #20641
</pre>
</div>
</content>
</entry>
</feed>
