summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-01-26 21:05:58 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-01-26 21:05:58 (GMT)
commitdae3e140ae6936ca376551cbdf77a896049c8dab (patch)
tree1ada62a27b8c7036e2f5047ca967302ecbdc58b3 /Source/cmFileCommand.h
parent09421a261c188763d3acfc7155d49c1c6fabc3ae (diff)
downloadCMake-dae3e140ae6936ca376551cbdf77a896049c8dab.zip
CMake-dae3e140ae6936ca376551cbdf77a896049c8dab.tar.gz
CMake-dae3e140ae6936ca376551cbdf77a896049c8dab.tar.bz2
ENH: Add unix style install in file command
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r--Source/cmFileCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h
index 5671dc4..60e25e8 100644
--- a/Source/cmFileCommand.h
+++ b/Source/cmFileCommand.h
@@ -47,6 +47,11 @@ public:
virtual bool IsInherited() {return true;}
/**
+ * This determines if the command is invoked when in script mode.
+ */
+ virtual bool IsScriptable() { return true; }
+
+ /**
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() { return "FILE";}
@@ -100,6 +105,7 @@ protected:
bool HandleReadCommand(std::vector<std::string> const& args);
bool HandleGlobCommand(std::vector<std::string> const& args, bool recurse);
bool HandleMakeDirectoryCommand(std::vector<std::string> const& args);
+ bool HandleInstallCommand(std::vector<std::string> const& args);
};