diff options
author | Brad King <brad.king@kitware.com> | 2001-02-26 17:07:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-02-26 17:07:53 (GMT) |
commit | 463e466be3efaada0c64beb120b98432e643e480 (patch) | |
tree | 46d1c660e37b4617bdab432c2abbea5fb699509f /Source/cmSubdirCommand.h | |
parent | d31ce244136205bc006967090ddd4d6fdde5b3cb (diff) | |
download | CMake-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/cmSubdirCommand.h')
-rw-r--r-- | Source/cmSubdirCommand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSubdirCommand.h b/Source/cmSubdirCommand.h index 43a501e..fd8b346 100644 --- a/Source/cmSubdirCommand.h +++ b/Source/cmSubdirCommand.h @@ -67,6 +67,8 @@ public: "This will cause any CMakeLists.txt files in the sub directories\n" "to be processed by CMake."; } + + cmTypeMacro(cmSubdirCommand, cmCommand); }; |