summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2024-07-04 20:36:37 (GMT)
committerMatthew Woehlke <matthew.woehlke@kitware.com>2024-07-18 16:08:43 (GMT)
commita6cc595772abe06d7aa6769bfbe525031de42d28 (patch)
tree44426707dfd33a93bbfe85ba808380698a629cd4 /bootstrap
parent0352376e4493b132cd7a8895e7e3aadaf99d73c7 (diff)
downloadCMake-a6cc595772abe06d7aa6769bfbe525031de42d28.zip
CMake-a6cc595772abe06d7aa6769bfbe525031de42d28.tar.gz
CMake-a6cc595772abe06d7aa6769bfbe525031de42d28.tar.bz2
export: Factor out CMake-specific export generation (1/2)
In order to support generation of Common Package Specifications, the mechanisms CMake uses to export package information need to be made more abstract. As a first step toward this, refactor cmInstallExportGenerator so that logic specific to config.cmake and Android .mk lives in separate subclasses. While we're at it, clean up the code style a bit and try to use moves a bit more consistently. This is step 1 of 2. The next step will refactor the individual file generators along similar lines, which will also involve creating additional classes for format-agnostic logic that is shared between build-tree and install-tree variants.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 841d280..241f44b 100755
--- a/bootstrap
+++ b/bootstrap
@@ -408,6 +408,7 @@ CMAKE_CXX_SOURCES="\
cmIncludeGuardCommand \
cmIncludeDirectoryCommand \
cmIncludeRegularExpressionCommand \
+ cmInstallCMakeConfigExportGenerator \
cmInstallCommand \
cmInstallCommandArguments \
cmInstallCxxModuleBmiGenerator \