diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-23 18:57:41 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-23 18:57:41 (GMT) |
commit | 903796a76af1f3ee54401a5250b192cc868acfa8 (patch) | |
tree | 2d6d534a5f91528eeeb0ac81ac66c1e14b0bb385 /Tests | |
parent | bafeb6974236c49f0c520cb7f49719312a665385 (diff) | |
download | CMake-903796a76af1f3ee54401a5250b192cc868acfa8.zip CMake-903796a76af1f3ee54401a5250b192cc868acfa8.tar.gz CMake-903796a76af1f3ee54401a5250b192cc868acfa8.tar.bz2 |
cleanup
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/LoadCommand/CMakeCommands/cmTestCommand.c | 6 | ||||
-rw-r--r-- | Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c index b10d599..a31e14a 100644 --- a/Tests/LoadCommand/CMakeCommands/cmTestCommand.c +++ b/Tests/LoadCommand/CMakeCommands/cmTestCommand.c @@ -54,11 +54,6 @@ void Destructor(void *inf) free(cdata); } -CM_PLUGIN_EXPORT const char *cmGetName() -{ - return "CMAKE_TEST_COMMAND"; -} - #ifdef MUCHO_MUDSLIDE void CM_PLUGIN_EXPORT cmInitializeCommand(cmLoadedCommandInfo *info) { @@ -66,6 +61,7 @@ void CM_PLUGIN_EXPORT cmInitializeCommand(cmLoadedCommandInfo *info) info->FinalPass = FinalPass; info->Destructor = Destructor; info->m_Inherited = 0; + info->Name = "CMAKE_TEST_COMMAND"; } #endif diff --git a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c index b10d599..a31e14a 100644 --- a/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c +++ b/Tests/LoadCommandOneConfig/CMakeCommands/cmTestCommand.c @@ -54,11 +54,6 @@ void Destructor(void *inf) free(cdata); } -CM_PLUGIN_EXPORT const char *cmGetName() -{ - return "CMAKE_TEST_COMMAND"; -} - #ifdef MUCHO_MUDSLIDE void CM_PLUGIN_EXPORT cmInitializeCommand(cmLoadedCommandInfo *info) { @@ -66,6 +61,7 @@ void CM_PLUGIN_EXPORT cmInitializeCommand(cmLoadedCommandInfo *info) info->FinalPass = FinalPass; info->Destructor = Destructor; info->m_Inherited = 0; + info->Name = "CMAKE_TEST_COMMAND"; } #endif |