summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-28 18:21:42 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-28 18:21:42 (GMT)
commit6388ebceb12e8eca3ce0e30528f0edaa990c8f7a (patch)
tree93706ecc2ed10615acdbf78216e3d4bd49389b53 /Source/cmExportCommand.cxx
parent611bff2c1b8a0ce533d92662504a391c9e3d494b (diff)
downloadCMake-6388ebceb12e8eca3ce0e30528f0edaa990c8f7a.zip
CMake-6388ebceb12e8eca3ce0e30528f0edaa990c8f7a.tar.gz
CMake-6388ebceb12e8eca3ce0e30528f0edaa990c8f7a.tar.bz2
ENH: Restored APPEND option to EXPORT() command in new implementation.
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r--Source/cmExportCommand.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 70c024e..cfc339c 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -26,6 +26,7 @@ cmExportCommand::cmExportCommand()
:cmCommand()
,ArgumentGroup()
,Targets(&Helper, "TARGETS")
+,Append(&Helper, "APPEND", &ArgumentGroup)
,Namespace(&Helper, "NAMESPACE", &ArgumentGroup)
,Filename(&Helper, "FILE", &ArgumentGroup)
{
@@ -146,6 +147,7 @@ bool cmExportCommand
cmExportBuildFileGenerator ebfg;
ebfg.SetExportFile(fname.c_str());
ebfg.SetNamespace(this->Namespace.GetCString());
+ ebfg.SetAppendMode(this->Append.IsEnabled());
ebfg.SetExports(&targets);
// Compute the set of configurations exported.