summaryrefslogtreecommitdiffstats
path: root/Source/cmCPluginAPI.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-22 17:14:55 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-22 17:14:55 (GMT)
commit8327883f3f87e03937e57da013b1681a3081c28a (patch)
treedfc4c657c27d8914e2c6d95352fb7702b5f619c4 /Source/cmCPluginAPI.cxx
parent92ac3689c9eb7de1e2b1555b8566cea2bb9319d2 (diff)
downloadCMake-8327883f3f87e03937e57da013b1681a3081c28a.zip
CMake-8327883f3f87e03937e57da013b1681a3081c28a.tar.gz
CMake-8327883f3f87e03937e57da013b1681a3081c28a.tar.bz2
ENH: Add DisplayStatus
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r--Source/cmCPluginAPI.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index 90be276..b8c562f 100644
--- a/Source/cmCPluginAPI.cxx
+++ b/Source/cmCPluginAPI.cxx
@@ -536,6 +536,12 @@ void cmRemoveFile(const char *name)
cmSystemTools::RemoveFile(name);
}
+void cmDisplayStatus(void *arg, const char* message)
+{
+ cmMakefile *mf = static_cast<cmMakefile *>(arg);
+ return mf->DisplayStatus(message, -1);
+}
+
void cmFree(void *data)
{
free(data);
@@ -550,6 +556,7 @@ cmCAPI cmStaticCAPI =
cmFreeArguments,
cmSetClientData,
cmSetError,
+ cmDisplayStatus,
cmAddCacheDefinition,
cmAddCustomCommand,
cmAddDefineFlag,