<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cmake.git/Tests/RunCMake/ObjectLibrary, 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>Tests/RunCMake: Match 'Tried extensions' output more robustly</title>
<updated>2023-03-09T19:35:05+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-03-09T19:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=8c96d145c1f9b5431643403caad9264a5b9e1402'/>
<id>8c96d145c1f9b5431643403caad9264a5b9e1402</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Xcode: Add tests for OBJECT library per target `OSX_ARCHITECTURES`</title>
<updated>2022-04-12T16:11:47+00:00</updated>
<author>
<name>Hyper Nova Sun</name>
<email>hypernovasun@icloud.com</email>
</author>
<published>2022-04-12T04:44:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=40dd46a96a5751f4a109ae555ce3b835b4c9ca68'/>
<id>40dd46a96a5751f4a109ae555ce3b835b4c9ca68</id>
<content type='text'>
Added test to cover handling of when `CMAKE_OSX_ARCHITECTURES` differs from
OBJECT library target's `OSX_ARCHITECTURES`:

TargetOverrideSingleArch:
- When `CMAKE_OSX_ARCHITECTURES` is set to multiple archs,
- But OBJECT library's `OSX_ARCHITECTURES` is set to single
- Assert that OBJECT library target "`HasKnownObjectFileLocation`" and is
  installable

TargetOverrideMultiArch:
- When `CMAKE_OSX_ARCHITECTURES` is set to single arch,
- But OBJECT library's `OSX_ARCHITECTURES` is set to multiple
- Assert that OBJECT library target does not "`HasKnownObjectFileLocation`"
  and hence not installable
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added test to cover handling of when `CMAKE_OSX_ARCHITECTURES` differs from
OBJECT library target's `OSX_ARCHITECTURES`:

TargetOverrideSingleArch:
- When `CMAKE_OSX_ARCHITECTURES` is set to multiple archs,
- But OBJECT library's `OSX_ARCHITECTURES` is set to single
- Assert that OBJECT library target "`HasKnownObjectFileLocation`" and is
  installable

TargetOverrideMultiArch:
- When `CMAKE_OSX_ARCHITECTURES` is set to single arch,
- But OBJECT library's `OSX_ARCHITECTURES` is set to multiple
- Assert that OBJECT library target does not "`HasKnownObjectFileLocation`"
  and hence not installable
</pre>
</div>
</content>
</entry>
<entry>
<title>Ninja Multi-Config: Restore TARGET_OBJECTS support in cross-configs</title>
<updated>2021-07-21T15:46:15+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2021-07-20T18:51:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=cb777dd81e71746fcd324dc157d1b41f3ae3ce24'/>
<id>cb777dd81e71746fcd324dc157d1b41f3ae3ce24</id>
<content type='text'>
Since commit 2ae72ef74b (Xcode: Enable multi-arch TARGET_OBJECTS genex
in [INTERFACE_]LINK_LIBRARIES, 2021-05-26, v3.21.0-rc1~126^2) the
TARGET_OBJECTS genex, when referenced for linking, is now evaluated with
EvaluateForBuildsystem enabled.  This causes the object file paths to be
computed with a buildsystem-specific placeholder for the configuration.

This is normally fine because the placeholder will be evaluated by the
native buildsystem tool using the proper configuration.  However, the
Ninja Multi-Config generator's `${CONFIGURATION}` placeholder may not
have the correct value for cross-config object files.  Switch back to
using the per-config location of each object file for this generator.

Fixes: #22436
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit 2ae72ef74b (Xcode: Enable multi-arch TARGET_OBJECTS genex
in [INTERFACE_]LINK_LIBRARIES, 2021-05-26, v3.21.0-rc1~126^2) the
TARGET_OBJECTS genex, when referenced for linking, is now evaluated with
EvaluateForBuildsystem enabled.  This causes the object file paths to be
computed with a buildsystem-specific placeholder for the configuration.

This is normally fine because the placeholder will be evaluated by the
native buildsystem tool using the proper configuration.  However, the
Ninja Multi-Config generator's `${CONFIGURATION}` placeholder may not
have the correct value for cross-config object files.  Switch back to
using the per-config location of each object file for this generator.

Fixes: #22436
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge topic 'autogen-clear-early-source-cache'</title>
<updated>2021-04-21T14:42:17+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2021-04-21T14:42:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=5a8b37e53b435554ad81d20152cd23ce311adb9b'/>
<id>5a8b37e53b435554ad81d20152cd23ce311adb9b</id>
<content type='text'>
b84f1e6159 Autogen: Restore mocs_compilation in OBJECT libraries

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Merge-request: !6024
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
b84f1e6159 Autogen: Restore mocs_compilation in OBJECT libraries

Acked-by: Kitware Robot &lt;kwrobot@kitware.com&gt;
Merge-request: !6024
</pre>
</div>
</content>
</entry>
<entry>
<title>Autogen: Restore mocs_compilation in OBJECT libraries</title>
<updated>2021-04-20T20:04:08+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2021-04-20T18:52:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=b84f1e61595d4c9344a13fa4bf76d8a258757f1b'/>
<id>b84f1e61595d4c9344a13fa4bf76d8a258757f1b</id>
<content type='text'>
Since commit f65f20938c (Autogen: Avoid processing CSharp targets,
2020-11-12, v3.20.0-rc1~301^2) we collect all sources for a target
earlier than previously.  Clear the sources cache so that it will be
re-computed later after AUTOGEN processing.

Fixes: #22085
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit f65f20938c (Autogen: Avoid processing CSharp targets,
2020-11-12, v3.20.0-rc1~301^2) we collect all sources for a target
earlier than previously.  Clear the sources cache so that it will be
re-computed later after AUTOGEN processing.

Fixes: #22085
</pre>
</div>
</content>
</entry>
<entry>
<title>Genex: Fix grammatical error in TARGET_OBJECTS error message</title>
<updated>2021-02-24T19:55:17+00:00</updated>
<author>
<name>Kyle Edwards</name>
<email>kyle.edwards@kitware.com</email>
</author>
<published>2021-02-24T14:51:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=f31e8d33ef5ca31ae7881157e660fc74dcde3ffa'/>
<id>f31e8d33ef5ca31ae7881157e660fc74dcde3ffa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: Suppress failures on macOS arm64 due to separate Xcode signing phase</title>
<updated>2021-02-22T23:47:13+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2021-02-22T18:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=1c15eb39d22db769386301bb192ca6423060c08c'/>
<id>1c15eb39d22db769386301bb192ca6423060c08c</id>
<content type='text'>
Some tests fail because Xcode runs `POST_BUILD` commands before signing
the binaries they run.  Tell the linker to perform ad-hoc codesign even
though Xcode normally tells it not to.

Other tests fail because `install_name_tool` does not revise ad-hoc
signatures without the codesign `linker-signed` flag.  Add that flag
ourselves where needed by our tests.

For now these changes help our test suite pass so we can use it to cover
everything else.  Both of these cases may need further investigation to
update CMake to help projects in general.

Issue: #21845, #21854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some tests fail because Xcode runs `POST_BUILD` commands before signing
the binaries they run.  Tell the linker to perform ad-hoc codesign even
though Xcode normally tells it not to.

Other tests fail because `install_name_tool` does not revise ad-hoc
signatures without the codesign `linker-signed` flag.  Add that flag
ourselves where needed by our tests.

For now these changes help our test suite pass so we can use it to cover
everything else.  Both of these cases may need further investigation to
update CMake to help projects in general.

Issue: #21845, #21854
</pre>
</div>
</content>
</entry>
<entry>
<title>add_library(): Allow imported object libraries with multi-arch</title>
<updated>2021-02-06T00:34:28+00:00</updated>
<author>
<name>Craig Scott</name>
<email>craig.scott@crascit.com</email>
</author>
<published>2021-02-04T09:30:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=4d46b1401f9d1624fa5afc3995844d7aebc7ccf4'/>
<id>4d46b1401f9d1624fa5afc3995844d7aebc7ccf4</id>
<content type='text'>
Fixes: #21276</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: #21276</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor file extension queries to be more consistent</title>
<updated>2020-06-22T13:13:16+00:00</updated>
<author>
<name>Robert Maynard</name>
<email>robert.maynard@kitware.com</email>
</author>
<published>2020-06-15T13:23:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=7628153edb74ef29e3322fd4163754e301b9cb9a'/>
<id>7628153edb74ef29e3322fd4163754e301b9cb9a</id>
<content type='text'>
It was very easy to forgot to check against all language file
extensions. This updates the internal API to have a unified API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was very easy to forgot to check against all language file
extensions. This updates the internal API to have a unified API.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: Fix -Wstrict-prototypes warnings in some C sources</title>
<updated>2020-05-13T12:11:59+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2020-05-13T12:11:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cmake.git/commit/?id=4150a18910a046907d985c8598d084aff10198d1'/>
<id>4150a18910a046907d985c8598d084aff10198d1</id>
<content type='text'>
Some RunCMake tests fail with this warning due to extra stderr content:

    warning: this old-style function definition is not preceded by a prototype

Convert `foo()` to `foo(void)` in `.c` sources of affected tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some RunCMake tests fail with this warning due to extra stderr content:

    warning: this old-style function definition is not preceded by a prototype

Convert `foo()` to `foo(void)` in `.c` sources of affected tests.
</pre>
</div>
</content>
</entry>
</feed>
