summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-01-07 19:16:28 (GMT)
committerBrad King <brad.king@kitware.com>2009-01-07 19:16:28 (GMT)
commit254782ed7607db23bf65acc780f6c014eb16985c (patch)
treebbe597fb1046af823316b8730366a15456251e9c /Source/cmExportInstallFileGenerator.h
parent377bebb9101b2bcf67e92143243fe26dba8abf6d (diff)
downloadCMake-254782ed7607db23bf65acc780f6c014eb16985c.zip
CMake-254782ed7607db23bf65acc780f6c014eb16985c.tar.gz
CMake-254782ed7607db23bf65acc780f6c014eb16985c.tar.bz2
ENH: Refactor computation of import file glob
New method cmExportInstallFileGenerator::GetConfigImportFileGlob computes the globbing expression that an installed export file uses to load its per-configuration support files.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.h')
-rw-r--r--Source/cmExportInstallFileGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmExportInstallFileGenerator.h b/Source/cmExportInstallFileGenerator.h
index ffe05f7..9efa924 100644
--- a/Source/cmExportInstallFileGenerator.h
+++ b/Source/cmExportInstallFileGenerator.h
@@ -59,6 +59,10 @@ public:
for installation. */
std::map<cmStdString, cmStdString> const& GetConfigImportFiles()
{ return this->ConfigImportFiles; }
+
+ /** Compute the globbing expression used to load per-config import
+ files from the main file. */
+ std::string GetConfigImportFileGlob();
protected:
// Implement virtual methods from the superclass.