summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCPluginAPI.cxx7
-rw-r--r--Source/cmCPluginAPI.h2
2 files changed, 9 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,
diff --git a/Source/cmCPluginAPI.h b/Source/cmCPluginAPI.h
index 311e6ab..ac2bfa3 100644
--- a/Source/cmCPluginAPI.h
+++ b/Source/cmCPluginAPI.h
@@ -57,6 +57,8 @@ typedef struct
void (*SetClientData) (void *info, void *cd);
/* when an error occurs, call this function to set the error string */
void (*SetError) (void *info, const char *err);
+ /* display status information */
+ void (*DisplaySatus) (void *info, const char *message);
/*=========================================================================
The following functions all directly map to methods in the cmMakefile