summaryrefslogtreecommitdiff
path: root/Source/cmExportBuildFileGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-28 13:21:42 -0500
committerBrad King <brad.king@kitware.com>2008-01-28 13:21:42 -0500
commit6388ebceb12e8eca3ce0e30528f0edaa990c8f7a (patch)
tree93706ecc2ed10615acdbf78216e3d4bd49389b53 /Source/cmExportBuildFileGenerator.h
parent611bff2c1b8a0ce533d92662504a391c9e3d494b (diff)
downloadcmake-6388ebceb12e8eca3ce0e30528f0edaa990c8f7a.tar.gz
ENH: Restored APPEND option to EXPORT() command in new implementation.
Diffstat (limited to 'Source/cmExportBuildFileGenerator.h')
-rw-r--r--Source/cmExportBuildFileGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExportBuildFileGenerator.h b/Source/cmExportBuildFileGenerator.h
index 0bb79cc2a4..53423f382e 100644
--- a/Source/cmExportBuildFileGenerator.h
+++ b/Source/cmExportBuildFileGenerator.h
@@ -35,6 +35,8 @@ public:
void SetExports(std::vector<cmTarget*> const* exports)
{ this->Exports = exports; }
+ /** Set whether to append generated code to the output file. */
+ void SetAppendMode(bool append) { this->AppendMode = append; }
protected:
// Implement virtual methods from the superclass.
virtual bool GenerateMainFile(std::ostream& os);