summaryrefslogtreecommitdiffstats
path: root/Source/cmWin32DefinesCommand.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/cmWin32DefinesCommand.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/cmWin32DefinesCommand.h')
-rw-r--r--Source/cmWin32DefinesCommand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmWin32DefinesCommand.h b/Source/cmWin32DefinesCommand.h
index a8e0da8..af07265 100644
--- a/Source/cmWin32DefinesCommand.h
+++ b/Source/cmWin32DefinesCommand.h
@@ -75,6 +75,8 @@ public:
"WIN32_DEFINES(-DFOO -DBAR ...)\n"
"Add -D define flags to command line for Win32 environments.";
}
+
+ cmTypeMacro(cmWin32DefinesCommand, cmCommand);
};