diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-06-30 13:38:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-16 17:45:05 (GMT) |
commit | 49ad7f9af84dd46e5527e6fefaa47d8bde748bca (patch) | |
tree | 2b12ae61ca840d2b6581f3ccbf12296cffc5e6b7 /Source/cmake.h | |
parent | 1d408dc10f492d060b8b9546c3ed3521d7051fd8 (diff) | |
download | CMake-49ad7f9af84dd46e5527e6fefaa47d8bde748bca.zip CMake-49ad7f9af84dd46e5527e6fefaa47d8bde748bca.tar.gz CMake-49ad7f9af84dd46e5527e6fefaa47d8bde748bca.tar.bz2 |
cmake: Add `cmake -E capabilities` mode
Add `cmake -E capabilities` to report on generators, cmake version and
possibly other static capabilities of cmake.
Closes: #15462
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 5b7c54a..343d371 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -117,6 +117,8 @@ public: /// Destructor ~cmake(); + std::string ReportCapabilities() const; + static const char* GetCMakeFilesDirectory() { return "/CMakeFiles"; } static const char* GetCMakeFilesDirectoryPostSlash() { |