ENH: Add DisplayStatus
This commit is contained in:
parent
92ac3689c9
commit
8327883f3f
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue