summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.h
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.h
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.h')
-rw-r--r--Source/cmExportCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmExportCommand.h b/Source/cmExportCommand.h
index f424501..d0e88c4 100644
--- a/Source/cmExportCommand.h
+++ b/Source/cmExportCommand.h
@@ -65,7 +65,7 @@ public:
{
return
" export(TARGETS [target1 [target2 [...]]] [NAMESPACE <namespace>]\n"
- " FILE <filename>)\n"
+ " [APPEND] FILE <filename>)\n"
"Create a file <filename> that may be included by outside projects to "
"import targets from the current project's build tree. "
"This is useful during cross-compiling to build utility executables "
@@ -73,6 +73,8 @@ public:
"them into another project being compiled for the target platform. "
"If the NAMESPACE option is given the <namespace> string will be "
"prepended to all target names written to the file. "
+ "If the APPEND option is given the generated code will be appended "
+ "to the file instead of overwriting it. "
"If a library target is included in the export but "
"a target to which it links is not included the behavior is "
"unspecified."
@@ -88,6 +90,7 @@ public:
private:
cmCommandArgumentGroup ArgumentGroup;
cmCAStringVector Targets;
+ cmCAEnabler Append;
cmCAString Namespace;
cmCAString Filename;
};