summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-02 19:43:21 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-02 19:43:21 (GMT)
commit2e56fa4808109552610cbcd360c473d2db895520 (patch)
tree538ac147ca821a4779e444e7c84985a43ac07f5f /Source/cmExportCommand.h
parent7f29f8966d672a2f8ef50b2249f6d826d1702bdc (diff)
downloadCMake-2e56fa4808109552610cbcd360c473d2db895520.zip
CMake-2e56fa4808109552610cbcd360c473d2db895520.tar.gz
CMake-2e56fa4808109552610cbcd360c473d2db895520.tar.bz2
ENH: add framework for unified handling of arguments to cmake commands,
example see cmExportCommand.cxx Alex
Diffstat (limited to 'Source/cmExportCommand.h')
-rw-r--r--Source/cmExportCommand.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmExportCommand.h b/Source/cmExportCommand.h
index 97f709f..c5a13f9 100644
--- a/Source/cmExportCommand.h
+++ b/Source/cmExportCommand.h
@@ -28,6 +28,7 @@
class cmExportCommand : public cmCommand
{
public:
+ cmExportCommand();
/**
* This is a virtual constructor for the command.
*/
@@ -75,10 +76,11 @@ public:
cmTypeMacro(cmExportCommand, cmCommand);
private:
- bool ParseArgs(const std::vector<std::string>& args, std::string& filename,
- std::string& prefix, std::string& exportName,
- std::vector<std::string>& targets, bool& append ) const;
-
+ cmCommandArgumentGroup ArgumentGroup;
+ cmCAStringVector Targets;
+ cmCAEnabler Append;
+ cmCAString Prefix;
+ cmCAString Filename;
};