<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cmake.git/Tests/RunCMake/Ninja/RunCMakeTest.cmake, branch master</title>
<subtitle>gitlab.kitware.com: cmake/cmake.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.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://git.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://git.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://git.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://git.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://git.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>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://git.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>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://git.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>
<entry>
<title>Tests: Extend RunCMake.Ninja ShowIncludes cases to cover more languages</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:11:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=d6e7e4d4a1844af15c005dab2db6237464ad160d'/>
<id>d6e7e4d4a1844af15c005dab2db6237464ad160d</id>
<content type='text'>
Add cases for English, French, German, and Japanese.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add cases for English, French, German, and Japanese.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: Generalize RunCMake.Ninja ShowIncludes test infrastructure</title>
<updated>2023-01-28T11:30:08+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-01-26T21:52:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=9596305c0b78b1589703bcd4ace1e764e27dd630'/>
<id>9596305c0b78b1589703bcd4ace1e764e27dd630</id>
<content type='text'>
Prepare to add support for more languages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prepare to add support for more languages.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ninja: Match showIncludes dependencies using console output code page</title>
<updated>2022-10-30T12:29:55+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2022-10-29T00:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=2e5af30ce0181b6652fb6f3a90d2292b065dee8d'/>
<id>2e5af30ce0181b6652fb6f3a90d2292b065dee8d</id>
<content type='text'>
Generalize the fix from commit 37a279f8d1 (Ninja: Write msvc_deps_prefix
as UTF-8 when console codepage is UTF-8, 2020-07-31, v3.19.0-rc1~349^2).
`cl /showIncludes` output is encoded using the console output code page,
so this is the byte sequence that Ninja must use to match its lines.

Fixes: #24068
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generalize the fix from commit 37a279f8d1 (Ninja: Write msvc_deps_prefix
as UTF-8 when console codepage is UTF-8, 2020-07-31, v3.19.0-rc1~349^2).
`cl /showIncludes` output is encoded using the console output code page,
so this is the byte sequence that Ninja must use to match its lines.

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