summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallSubdirectoryGenerator.h
Commit message (Collapse)AuthorAgeFilesLines
* cmConstStack: Factor out of cmListFileBacktraceBrad King2022-04-021-1/+1
| | | | | | | This presents value semantics for a stack of constant values. Internally it shares ownership to avoid copies. Previously this was implemented by `cmListFileBacktrace` explicitly, but the approach can be re-used for other kinds of stacks.
* CMP0082: Check EXCLUDE_FROM_ALL property at generate timeKyle Edwards2021-05-241-1/+0
| | | | Fixes: #22234
* cmInstallGenerator: Add backtrace to all install generatorsBrad King2021-01-281-1/+3
|
* Modernize: Use #pragma once in all header filesKitware Robot2020-09-031-4/+1
| | | | | | | | | | | | | | | | #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.
* cmInstall*Generator: std::string paramsVitaly Stakhovsky2020-01-211-3/+3
| | | | | Several construction parameters converted to std::string Also made a few class members const
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-2/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* Refactor: Allow cmInstallGenerator::Compute() to return an errorKyle Edwards2019-05-131-1/+1
| | | | | | This is preparation for an upcoming merge request, which will add a new cmInstallGenerator that returns false if there are errors in the Compute() step.
* add_subdirectory: Run subdirectory install rules in correct orderKyle Edwards2018-10-101-0/+41
Before this change, install rules created by add_subdirectory() would be executed after all of the top-level install rules, even if they were declared before the top-level rules. This change adds a new policy, CMP0082, which interleaves the add_subdirectory() install rules with the other install rules so they are run in the correct order.