diff options
author | Brad King <brad.king@kitware.com> | 2008-01-28 18:21:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-28 18:21:42 (GMT) |
commit | 6388ebceb12e8eca3ce0e30528f0edaa990c8f7a (patch) | |
tree | 93706ecc2ed10615acdbf78216e3d4bd49389b53 /Source/cmExportCommand.cxx | |
parent | 611bff2c1b8a0ce533d92662504a391c9e3d494b (diff) | |
download | CMake-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.cxx | 2 |
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. |