<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmake.git/Source/cmAddExecutableCommand.h, branch master</title>
<subtitle>cmake</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/atom/Source/cmAddExecutableCommand.h?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/atom/Source/cmAddExecutableCommand.h?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/'/>
<updated>2020-09-03T13:30:21Z</updated>
<entry>
<title>Modernize: Use #pragma once in all header files</title>
<updated>2020-09-03T13:30:21Z</updated>
<author>
<name>Kitware Robot</name>
<email>kwrobot@kitware.com</email>
</author>
<published>2020-08-29T20:27:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=bdca8b01d2d96d63e685e7eca03e0f51f5410fdf'/>
<id>urn:sha1:bdca8b01d2d96d63e685e7eca03e0f51f5410fdf</id>
<content type='text'>
#pragma once is a widely supported compiler pragma, even though it is
not part of the C++ standard. Many of the issues keeping #pragma once
from being standardized (distributed filesystems, build farms, hard
links, etc.) do not apply to CMake - it is easy to build CMake on a
single machine. CMake also does not install any header files which can
be consumed by other projects (though cmCPluginAPI.h has been
deliberately omitted from this conversion in case anyone is still using
it.) Finally, #pragma once has been required to build CMake since at
least August 2017 (7f29bbe6 enabled server mode unconditionally, which
had been using #pragma once since September 2016 (b13d3e0d)). The fact
that we now require C++11 filters out old compilers, and it is unlikely
that there is a compiler which supports C++11 but does not support
#pragma once.
</content>
</entry>
<entry>
<title>cmA*Command: Turn into free functions</title>
<updated>2019-08-07T08:16:32Z</updated>
<author>
<name>Regina Pfeifer</name>
<email>regina@mailbox.org</email>
</author>
<published>2019-08-06T21:10:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=9ba0bf60c6a1dc0904c40575efd69bba580b0902'/>
<id>urn:sha1:9ba0bf60c6a1dc0904c40575efd69bba580b0902</id>
<content type='text'>
Ref: #19499
</content>
</entry>
<entry>
<title>modernize: manage cmCommand instances using unique_ptr.</title>
<updated>2019-07-14T13:37:30Z</updated>
<author>
<name>Marc Chevrier</name>
<email>marc.chevrier@gmail.com</email>
</author>
<published>2019-07-04T16:14:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=1591f138f1a40fccdde7fb2796ee2d2d8f3f97bb'/>
<id>urn:sha1:1591f138f1a40fccdde7fb2796ee2d2d8f3f97bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use C++11 override instead of CM_OVERRIDE</title>
<updated>2017-09-15T14:06:41Z</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2017-09-15T13:56:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=0b33aee48b1f4027fe6086b5610434a5f29b0b8a'/>
<id>urn:sha1:0b33aee48b1f4027fe6086b5610434a5f29b0b8a</id>
<content type='text'>
We now require C++11 support including `override`.  Drop use of
the old compatibility macro.  Convert references as follows:

    git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' |
      xargs sed -i 's/CM_OVERRIDE/override/g'
</content>
</entry>
<entry>
<title>IWYU: Mark cmConfigure.h with pragma: keep</title>
<updated>2017-08-26T05:41:04Z</updated>
<author>
<name>Daniel Pfeifer</name>
<email>daniel@pfeifer-mail.de</email>
</author>
<published>2017-08-25T18:39:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=ca2233e31fec18727ac1f742bef1108016745039'/>
<id>urn:sha1:ca2233e31fec18727ac1f742bef1108016745039</id>
<content type='text'>
Also remove `#include "cmConfigure.h"` from most source files.
</content>
</entry>
<entry>
<title>cmCommand: remove unused methods from interface and all implementations</title>
<updated>2017-05-11T17:49:06Z</updated>
<author>
<name>Daniel Pfeifer</name>
<email>daniel@pfeifer-mail.de</email>
</author>
<published>2017-05-10T20:48:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=a1218f59d9164407c6e28f816b0f11314b64fe5c'/>
<id>urn:sha1:a1218f59d9164407c6e28f816b0f11314b64fe5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use quotes for non-system includes</title>
<updated>2017-04-11T20:35:21Z</updated>
<author>
<name>Daniel Pfeifer</name>
<email>daniel@pfeifer-mail.de</email>
</author>
<published>2017-04-11T20:00:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=1d829c862cf9d7f813f8e7e1a43f0125a4de7220'/>
<id>urn:sha1:1d829c862cf9d7f813f8e7e1a43f0125a4de7220</id>
<content type='text'>
Automate with:

git grep -l '#include &lt;cm_' -- Source \
  | xargs sed -i 's/#include &lt;\(cm_.*\)&gt;/#include "\1"/g'

git grep -l '#include &lt;cmsys/' -- Source \
  | xargs sed -i 's/#include &lt;\(cmsys\/.*\)&gt;/#include "\1"/g'

git grep -l '#include &lt;cm[A-Z]' -- Source \
  | xargs sed -i 's/#include &lt;\(cm[A-Z].*\)&gt;/#include "\1"/g'
</content>
</entry>
<entry>
<title>cmConfigure: Ensure separate include block in headers</title>
<updated>2017-04-11T20:35:20Z</updated>
<author>
<name>Daniel Pfeifer</name>
<email>daniel@pfeifer-mail.de</email>
</author>
<published>2017-04-11T19:42:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=5afac50f6852332698fbc9be4209f1c90a011d66'/>
<id>urn:sha1:5afac50f6852332698fbc9be4209f1c90a011d66</id>
<content type='text'>
Make sure that `#include &lt;cmConfigure.h&gt;` is followed by an empty line
in header files.  This is necessary to make sure that changing &lt;&gt; to ""
does not affect the include ordering of clang-format.

Automate with:

git grep -l '#include &lt;cmConfigure.h&gt;' | grep -v '.cxx$' \
| xargs sed -i '/#include &lt;cmConfigure.h&gt;/ { N; N; s/\n\{1,2\}/\n\n/ }'
</content>
</entry>
<entry>
<title>Include necessary headers in commands</title>
<updated>2016-10-26T07:02:44Z</updated>
<author>
<name>Daniel Pfeifer</name>
<email>daniel@pfeifer-mail.de</email>
</author>
<published>2016-10-25T18:35:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=e81c323da9c020c91c967184ecf98f806eb95867'/>
<id>urn:sha1:e81c323da9c020c91c967184ecf98f806eb95867</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make cmCommand not inherit from cmObject</title>
<updated>2016-10-22T22:45:08Z</updated>
<author>
<name>Daniel Pfeifer</name>
<email>daniel@pfeifer-mail.de</email>
</author>
<published>2016-10-22T22:45:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=9855ebf11a1556bd0b73a1eaec39232842871528'/>
<id>urn:sha1:9855ebf11a1556bd0b73a1eaec39232842871528</id>
<content type='text'>
</content>
</entry>
</feed>
