<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmake.git/Source/cmTargetSourcesCommand.h, branch master</title>
<subtitle>cmake</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/atom/Source/cmTargetSourcesCommand.h?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/atom/Source/cmTargetSourcesCommand.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>cmTarget*: Port away from cmCommand</title>
<updated>2019-09-26T17:27:55Z</updated>
<author>
<name>Regina Pfeifer</name>
<email>regina@mailbox.org</email>
</author>
<published>2019-09-10T19:41:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=9d1a1bc495be41b035f61f9b707df8006da54160'/>
<id>urn:sha1:9d1a1bc495be41b035f61f9b707df8006da54160</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmstd: Modernize CMake system headers</title>
<updated>2019-09-20T14:01:37Z</updated>
<author>
<name>Marc Chevrier</name>
<email>marc.chevrier@gmail.com</email>
</author>
<published>2019-08-04T08:49:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=c688b401d3adaacc820ef4b589010e8aefa808b1'/>
<id>urn:sha1:c688b401d3adaacc820ef4b589010e8aefa808b1</id>
<content type='text'>
Provide a standardized way to handle the C++ "standard" headers
customized to be used with current CMake C++ standard constraints.
Offer under directory `cm` headers which can be used as direct
replacements of the standard ones.  For example:

    #include &lt;cm/string_view&gt;

can be used safely for CMake development in place of the `&lt;string_view&gt;`
standard header.

Fixes: #19491
</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>target_sources: Interpret relative paths as relative to the calling directory</title>
<updated>2018-06-18T19:01:57Z</updated>
<author>
<name>Patrick Stotko</name>
<email>stotko@cs.uni-bonn.de</email>
</author>
<published>2018-06-02T15:20:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=316815e1f4beb66b679f27f96800facef572889e'/>
<id>urn:sha1:316815e1f4beb66b679f27f96800facef572889e</id>
<content type='text'>
Previously the command considered non-absolute source file paths relative to
the associated target on the LHS. This causes problems in incremental builds
where files are added from subdirectories and forces users to workaround by
manually converting to absolute paths. Change this to enable more intuitive
usage by projects.

Fixes #17981
</content>
</entry>
<entry>
<title>Teach target_* commands to set INTERFACE properties of IMPORTED targets</title>
<updated>2017-10-26T13:11:04Z</updated>
<author>
<name>Deniz Bahadir</name>
<email>dbahadir@benocs.com</email>
</author>
<published>2017-09-18T15:50:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/cmake.git/commit/?id=fe4b25ec2fa09a50b6ffbfcf29e118afdfba0659'/>
<id>urn:sha1:fe4b25ec2fa09a50b6ffbfcf29e118afdfba0659</id>
<content type='text'>
Now, several `INTERFACE_*` properties can be set on `IMPORTED` targets,
not only via `set_property` and `set_target_properties` but also via
`target_compile_definitions`, `target_compile_features`,
`target_compile_options`, `target_include_directories`, `target_sources`
and `target_link_libraries`.

Fixes: #15689
Issue: #17197
</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>
</feed>
