summaryrefslogtreecommitdiffstats
path: root/Source/cmProjectCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-02-26 17:07:53 (GMT)
committerBrad King <brad.king@kitware.com>2001-02-26 17:07:53 (GMT)
commit463e466be3efaada0c64beb120b98432e643e480 (patch)
tree46d1c660e37b4617bdab432c2abbea5fb699509f /Source/cmProjectCommand.h
parentd31ce244136205bc006967090ddd4d6fdde5b3cb (diff)
downloadCMake-463e466be3efaada0c64beb120b98432e643e480.zip
CMake-463e466be3efaada0c64beb120b98432e643e480.tar.gz
CMake-463e466be3efaada0c64beb120b98432e643e480.tar.bz2
ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses.
Diffstat (limited to 'Source/cmProjectCommand.h')
-rw-r--r--Source/cmProjectCommand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmProjectCommand.h b/Source/cmProjectCommand.h
index fe395b0..7c0c673 100644
--- a/Source/cmProjectCommand.h
+++ b/Source/cmProjectCommand.h
@@ -74,6 +74,8 @@ public:
return
"PROJECT(projectname) Sets the name of the Microsoft workspace .dsw file. Does nothing on UNIX currently\n";
}
+
+ cmTypeMacro(cmProjectCommand, cmCommand);
};