Brad King
03d40110dc
cmStateSnapshot: Add method to get current directory snapshot
2018-12-11 12:50:21 -05:00
Vitaly Stakhovsky
437d0c16c7
cmStateSnapshot::GetDefinition(): Return std::string const*
...
Expose std::string type used internally in cmDefinitions instead of const char*
2018-09-05 20:08:17 -04:00
Brad King
391a5837ee
cmake_policy: Add undocumented PARENT_SCOPE option to GET
...
Policies affecting the behavior of CMake-provided macros and functions
need to be able to get the policy setting as of the call site rather
than the definition site. Add an undocumented option to do this.
2018-04-18 08:09:56 -04:00
Daniel Pfeifer
5962db4389
Use C++11 nullptr
2017-08-24 23:39:47 +02:00
Daniel Pfeifer
b1ec5deaf1
Pass large types by const&, small types by value
2017-06-04 00:48:21 +02:00
Daniel Pfeifer
1d829c862c
Use quotes for non-system includes
...
Automate with:
git grep -l '#include <cm_' -- Source \
| xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
git grep -l '#include <cmsys/' -- Source \
| xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
git grep -l '#include <cm[A-Z]' -- Source \
| xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
2017-04-11 22:35:21 +02:00
Daniel Pfeifer
2e620f0b38
Fix several include-what-you-use findings
2016-11-08 09:42:04 -05:00
Stephen Kelly
e0a84904eb
cmState: Split auxiliary classes into separate files
...
Port dependents to the new locations as needed.
Leave behind a cmState.h include in cmListFileCache to reduce noise. It
is removed in a following commit.
2016-10-19 15:40:59 +02:00