<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cmake.git/Tests/CMakeOnly/CheckStructHasMember, 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>Tests: Bump CMake minimum required in tests to 3.5</title>
<updated>2023-03-01T21:36:54+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2023-03-01T20:55:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=f53bd6f45064fdf16c6c562edaf58bdcab8ee061'/>
<id>f53bd6f45064fdf16c6c562edaf58bdcab8ee061</id>
<content type='text'>
CMake 3.27 deprecates compatibility with CMake &lt; 3.5.  Update tests that
do not cover older interfaces to avoid the deprecation warning.

Follow the pattern from:

* commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions,
                     2020-06-15, v3.19.0-rc1~629^2~1)

* commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12,
                     2020-12-22, v3.20.0-rc1~224^2)

* commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12,
                     2021-04-04, v3.21.0-rc1~372^2)

Also remove explicit `cmake_policy` settings made redundant by the
version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMake 3.27 deprecates compatibility with CMake &lt; 3.5.  Update tests that
do not cover older interfaces to avoid the deprecation warning.

Follow the pattern from:

* commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions,
                     2020-06-15, v3.19.0-rc1~629^2~1)

* commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12,
                     2020-12-22, v3.20.0-rc1~224^2)

* commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12,
                     2021-04-04, v3.21.0-rc1~372^2)

Also remove explicit `cmake_policy` settings made redundant by the
version.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests: Bump CMake minimum required in tests to 2.8.12</title>
<updated>2020-12-23T13:55:45+00:00</updated>
<author>
<name>Chuck Atkins</name>
<email>chuck.atkins@kitware.com</email>
</author>
<published>2020-12-22T14:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=72e7c45e984c006c12a4cb8159d3fa3784c02212'/>
<id>72e7c45e984c006c12a4cb8159d3fa3784c02212</id>
<content type='text'>
Since 3.19, CMake generates a deprecation warning when using a minimum
version less than 2.8.12.  This eliminates those warnings generated
during tests, which are typically hidden from the user and developer but
are being generated nonetheless.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 3.19, CMake generates a deprecation warning when using a minimum
version less than 2.8.12.  This eliminates those warnings generated
during tests, which are typically hidden from the user and developer but
are being generated nonetheless.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ninja Multi-Config: Don't include MinSizeRel by default</title>
<updated>2020-02-06T16:07:38+00:00</updated>
<author>
<name>Kyle Edwards</name>
<email>kyle.edwards@kitware.com</email>
</author>
<published>2020-02-05T18:32:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=9e219de4fb50096a9386dbe6de9f98cf8a7ec199'/>
<id>9e219de4fb50096a9386dbe6de9f98cf8a7ec199</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use string(APPEND) in Tests</title>
<updated>2016-07-27T22:43:04+00:00</updated>
<author>
<name>Daniel Pfeifer</name>
<email>daniel@pfeifer-mail.de</email>
</author>
<published>2016-07-27T22:43:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=7a649111cdea2b10f2ec57084416be619867fbfb'/>
<id>7a649111cdea2b10f2ec57084416be619867fbfb</id>
<content type='text'>
Automate with:

find Tests -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automate with:

find Tests -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
</pre>
</div>
</content>
</entry>
<entry>
<title>Revise C++ coding style using clang-format</title>
<updated>2016-05-16T20:05:19+00:00</updated>
<author>
<name>Kitware Robot</name>
<email>kwrobot@kitware.com</email>
</author>
<published>2016-05-16T14:34:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=d9fd2f5402eeaa345691313658e02b51038f570b'/>
<id>d9fd2f5402eeaa345691313658e02b51038f570b</id>
<content type='text'>
Run the `Utilities/Scripts/clang-format.bash` script to update
all our C++ code to a new style defined by `.clang-format`.
Use `clang-format` version 3.8.

* If you reached this commit for a line in `git blame`, re-run the blame
  operation starting at the parent of this commit to see older history
  for the content.

* See the parent commit for instructions to rebase a change across this
  style transition commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run the `Utilities/Scripts/clang-format.bash` script to update
all our C++ code to a new style defined by `.clang-format`.
Use `clang-format` version 3.8.

* If you reached this commit for a line in `git blame`, re-run the blame
  operation starting at the parent of this commit to see older history
  for the content.

* See the parent commit for instructions to rebase a change across this
  style transition commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>CheckStructHasMember: Add support for C++</title>
<updated>2013-10-08T13:43:06+00:00</updated>
<author>
<name>Daniele E. Domenichelli</name>
<email>daniele.domenichelli@iit.it</email>
</author>
<published>2013-09-20T13:10:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cmake.git/commit/?id=73d28d2177a8b014f8807a61d14d3064c5d5c033'/>
<id>73d28d2177a8b014f8807a61d14d3064c5d5c033</id>
<content type='text'>
Previously if headers required to check if a struct has a member can be
compiled with C++ compiler only, the check would fail because the C
compiler fails.  As a consequence, the result variable would be set to
false, even if the struct has that particular member.

Teach CHECK_STRUCT_HAS_MEMBER to accept a new optional argument LANGUAGE
that allows one to explicitly set the compiler to use.  The new
signature is therefore:

  CHECK_STRUCT_HAS_MEMBER (&lt;struct&gt; &lt;member&gt; &lt;header&gt; &lt;variable&gt;
                           [LANGUAGE &lt;language&gt;])
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously if headers required to check if a struct has a member can be
compiled with C++ compiler only, the check would fail because the C
compiler fails.  As a consequence, the result variable would be set to
false, even if the struct has that particular member.

Teach CHECK_STRUCT_HAS_MEMBER to accept a new optional argument LANGUAGE
that allows one to explicitly set the compiler to use.  The new
signature is therefore:

  CHECK_STRUCT_HAS_MEMBER (&lt;struct&gt; &lt;member&gt; &lt;header&gt; &lt;variable&gt;
                           [LANGUAGE &lt;language&gt;])
</pre>
</div>
</content>
</entry>
</feed>
