mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: add new feature to ctest so that it can cmake, build and run a test executable
This commit is contained in:
@@ -81,6 +81,12 @@ public:
|
||||
*/
|
||||
static void Message(const char* m, const char* title=0);
|
||||
|
||||
///! Send a string to stdout
|
||||
static void Stdout(const char* s);
|
||||
static void Stdout(const char* s, int length);
|
||||
typedef void (*StdoutCallback)(const char*, int length, void*);
|
||||
static void SetStdoutCallback(StdoutCallback, void* clientData=0);
|
||||
|
||||
///! Return true if there was an error at any point.
|
||||
static bool GetErrorOccuredFlag()
|
||||
{
|
||||
@@ -258,7 +264,9 @@ private:
|
||||
static bool s_DisableMessages;
|
||||
static bool s_DisableRunCommandOutput;
|
||||
static ErrorCallback s_ErrorCallback;
|
||||
static StdoutCallback s_StdoutCallback;
|
||||
static void* s_ErrorCallbackClientData;
|
||||
static void* s_StdoutCallbackClientData;
|
||||
|
||||
static std::string s_Windows9xComspecSubstitute;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user