summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-02-13 00:49:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-02-13 00:49:52 (GMT)
commitdb267f533b9ac63db78559e9d3cb39a6db090770 (patch)
treec1d9cbee32d5de1e522e2c2ab5503ec82fb39f2c /Source/cmCommands.cxx
parent9d431ae48b0912454405d5eaabf7ce11561fd4ec (diff)
downloadCMake-db267f533b9ac63db78559e9d3cb39a6db090770.zip
CMake-db267f533b9ac63db78559e9d3cb39a6db090770.tar.gz
CMake-db267f533b9ac63db78559e9d3cb39a6db090770.tar.bz2
ENH: get rid of special msc configure file
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r--Source/cmCommands.cxx33
1 files changed, 33 insertions, 0 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx
index e6cf4b7..76ccce0 100644
--- a/Source/cmCommands.cxx
+++ b/Source/cmCommands.cxx
@@ -1,3 +1,8 @@
+// This file is used to compile all the commands
+// that CMake knows about at compile time.
+// This is sort of a boot strapping approach since you would
+// like to have CMake to build CMake.
+#include "cmCommands.h"
#include "cmAbstractFilesCommand.cxx"
#include "cmAddTargetCommand.cxx"
#include "cmAuxSourceDirectoryCommand.cxx"
@@ -18,3 +23,31 @@
#include "cmUnixLibrariesCommand.cxx"
#include "cmWin32DefinesCommand.cxx"
#include "cmWin32LibrariesCommand.cxx"
+#include "cmConfigureFileNoAutoconf.cxx"
+
+void GetPredefinedCommands(std::list<cmCommand*>& commands)
+{
+ commands.push_back(new cmAbstractFilesCommand);
+ commands.push_back(new cmAddTargetCommand);
+ commands.push_back(new cmAuxSourceDirectoryCommand);
+ commands.push_back(new cmExecutablesCommand);
+ commands.push_back(new cmFindIncludeCommand);
+ commands.push_back(new cmFindLibraryCommand);
+ commands.push_back(new cmFindProgramCommand);
+ commands.push_back(new cmIncludeDirectoryCommand);
+ commands.push_back(new cmLibraryCommand);
+ commands.push_back(new cmLinkDirectoriesCommand);
+ commands.push_back(new cmLinkLibrariesCommand);
+ commands.push_back(new cmProjectCommand);
+ commands.push_back(new cmSourceFilesCommand);
+ commands.push_back(new cmSourceFilesRequireCommand);
+ commands.push_back(new cmSubdirCommand);
+ commands.push_back(new cmTestsCommand);
+ commands.push_back(new cmUnixDefinesCommand);
+ commands.push_back(new cmUnixLibrariesCommand);
+ commands.push_back(new cmWin32DefinesCommand);
+ commands.push_back(new cmWin32LibrariesCommand);
+ commands.push_back(new cmConfigureFileNoAutoconf);
+}
+
+