<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cmake.git/Tests/RunCMake/Ninja, 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>Merge topic 'msvc-wine-showIncludes'</title>
<updated>2023-05-16T14:40:09+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-05-16T14:39:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=a59b35ba33123da05adf09878a38f4ab3475a7a1'/>
<id>a59b35ba33123da05adf09878a38f4ab3475a7a1</id>
<content type='text'>
fb3c4715cd Ninja: Restore detection of msvc-wine showIncludes prefix

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Acked-by: huangqinjin &lt;huangqinjin@gmail.com&gt;
Merge-request: !8479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fb3c4715cd Ninja: Restore detection of msvc-wine showIncludes prefix

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Acked-by: huangqinjin &lt;huangqinjin@gmail.com&gt;
Merge-request: !8479
</pre>
</div>
</content>
</entry>
<entry>
<title>Ninja: Restore detection of msvc-wine showIncludes prefix</title>
<updated>2023-05-15T19:34:55+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-05-15T18:37:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=fb3c4715cd88bce564e3e64d844cdf4e9bebfb25'/>
<id>fb3c4715cd88bce564e3e64d844cdf4e9bebfb25</id>
<content type='text'>
Since commit 8f82e755f3 (Ninja: Fix detection of MSVC showIncludes
prefix in Italian, 2023-01-26, v3.26.0-rc1~20^2) our regex no longer
matches the output from `msvc-wine`, which uses forward slashes:

    Note: including file: /path/to/foo.h

`cl /showIncludes` under Wine prints paths of the form `Z:\path\to\file`,
but the `msvc-wine` wrapper converts them to the form `/path/to/file` so
that native Ninja can be used.  Update our regex to match the prefix
followed by a path with a leading forward slash.

Fixes: #24908
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit 8f82e755f3 (Ninja: Fix detection of MSVC showIncludes
prefix in Italian, 2023-01-26, v3.26.0-rc1~20^2) our regex no longer
matches the output from `msvc-wine`, which uses forward slashes:

    Note: including file: /path/to/foo.h

`cl /showIncludes` under Wine prints paths of the form `Z:\path\to\file`,
but the `msvc-wine` wrapper converts them to the form `/path/to/file` so
that native Ninja can be used.  Update our regex to match the prefix
followed by a path with a leading forward slash.

Fixes: #24908
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge topic 'clang-cl-showIncludes'</title>
<updated>2023-03-21T12:57:35+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-03-21T12:57:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=2cdb0bae28601d103d465bc92e527f1caed06bce'/>
<id>2cdb0bae28601d103d465bc92e527f1caed06bce</id>
<content type='text'>
843fc607de Ninja: Restore detection of clang-cl showIncludes prefix
3346570ae9 Tests: Comment RunCMake.Ninja ShowIncludes sample input languages

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Merge-request: !8344
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
843fc607de Ninja: Restore detection of clang-cl showIncludes prefix
3346570ae9 Tests: Comment RunCMake.Ninja ShowIncludes sample input languages

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Merge-request: !8344
</pre>
</div>
</content>
</entry>
<entry>
<title>Ninja: Restore detection of clang-cl showIncludes prefix</title>
<updated>2023-03-20T14:08:25+00:00</updated>
<author>
<name>YR Chen</name>
<email>stevapple@icloud.com</email>
</author>
<published>2023-03-18T07:34:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=843fc607de7654bd24eab1b6d97d69ee989a8f9c'/>
<id>843fc607de7654bd24eab1b6d97d69ee989a8f9c</id>
<content type='text'>
Since commit 8f82e755f3 (Ninja: Fix detection of MSVC showIncludes
prefix in Italian, 2023-01-26, v3.26.0-rc1~20^2) our regex no longer
matches the output from `clang-cl`, which uses a relative path, forward
slashes, and is always in English [1]:

    Note: including file: ./foo.h

Update the regex to match that too.

[1] https://github.com/llvm/llvm-project/blob/llvmorg-16.0.0/clang/lib/Frontend/HeaderIncludeGen.cpp#L102

Co-authored-by: Brad King &lt;brad.king@kitware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit 8f82e755f3 (Ninja: Fix detection of MSVC showIncludes
prefix in Italian, 2023-01-26, v3.26.0-rc1~20^2) our regex no longer
matches the output from `clang-cl`, which uses a relative path, forward
slashes, and is always in English [1]:

    Note: including file: ./foo.h

Update the regex to match that too.

[1] https://github.com/llvm/llvm-project/blob/llvmorg-16.0.0/clang/lib/Frontend/HeaderIncludeGen.cpp#L102

Co-authored-by: Brad King &lt;brad.king@kitware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add variable CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY</title>
<updated>2023-02-17T15:12:12+00:00</updated>
<author>
<name>Abdelmaged Khalifa</name>
<email>abdelmaged.khalifa@gmail.com</email>
</author>
<published>2023-02-17T13:11:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=ea2a05f402d2e1090d8d1e92e67c08ac1e5af66a'/>
<id>ea2a05f402d2e1090d8d1e92e67c08ac1e5af66a</id>
<content type='text'>
Add CMake variable `CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY` to enable
option `DEPENDS_EXPLICIT_ONLY` on all uses of `add_custom_command`.

Fixes: #17097
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add CMake variable `CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY` to enable
option `DEPENDS_EXPLICIT_ONLY` on all uses of `add_custom_command`.

Fixes: #17097
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge topic 'ninja-custom-command-depends'</title>
<updated>2023-02-15T13:57:32+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-02-15T13:57:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=e2ed34abf899ebe528709c2850503fd7ead544a9'/>
<id>e2ed34abf899ebe528709c2850503fd7ead544a9</id>
<content type='text'>
082ccd7530 add_custom_command: Add DEPENDS_EXPLICIT_ONLY option for Ninja

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Merge-request: !8198
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
082ccd7530 add_custom_command: Add DEPENDS_EXPLICIT_ONLY option for Ninja

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Merge-request: !8198
</pre>
</div>
</content>
</entry>
<entry>
<title>add_custom_command: Add DEPENDS_EXPLICIT_ONLY option for Ninja</title>
<updated>2023-02-14T13:56:59+00:00</updated>
<author>
<name>Abdelmaged Khalifa</name>
<email>abdelmaged.khalifa@gmail.com</email>
</author>
<published>2023-02-11T23:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=082ccd75301cd02efd09bb9882bb9d2a8957193b'/>
<id>082ccd75301cd02efd09bb9882bb9d2a8957193b</id>
<content type='text'>
Add option `DEPENDS_EXPLICIT_ONLY` to `add_custom_command` to indicate
that implicit dependencies coming from users of the output are not
needed, and only consider dependencies explicitly specified in the
custom command.

Fixes: #17097
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add option `DEPENDS_EXPLICIT_ONLY` to `add_custom_command` to indicate
that implicit dependencies coming from users of the output are not
needed, and only consider dependencies explicitly specified in the
custom command.

Fixes: #17097
</pre>
</div>
</content>
</entry>
<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>Ninja: Fix detection of MSVC showIncludes prefix in Italian</title>
<updated>2023-01-28T12:16:58+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-01-26T20:16:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=8f82e755f336c66194ce8229575e4651cb7a4c62'/>
<id>8f82e755f336c66194ce8229575e4651cb7a4c62</id>
<content type='text'>
The prefix does not have two colons.  Update our regex.

Fixes: #24357
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The prefix does not have two colons.  Update our regex.

Fixes: #24357
</pre>
</div>
</content>
</entry>
</feed>
