summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmInstallGenerator.h')
-rw-r--r--Source/cmInstallGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h
index 94c0fbd..4d33fdf 100644
--- a/Source/cmInstallGenerator.h
+++ b/Source/cmInstallGenerator.h
@@ -29,6 +29,7 @@ class cmInstallGenerator
{
public:
cmInstallGenerator();
+ cmInstallGenerator(const char* dest):Destination(dest?dest:"") {}
virtual ~cmInstallGenerator();
void Generate(std::ostream& os, const char* config,
@@ -47,11 +48,13 @@ public:
const char* literal_args = 0
);
+ const char* GetDestination() const {return this->Destination.c_str();}
protected:
virtual void GenerateScript(std::ostream& os)=0;
const char* ConfigurationName;
std::vector<std::string> const* ConfigurationTypes;
+ std::string Destination;
};
#endif