diff options
Diffstat (limited to 'Source/cmExecProgramCommand.h')
-rw-r--r-- | Source/cmExecProgramCommand.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h index 1cc46d3..58e948e 100644 --- a/Source/cmExecProgramCommand.h +++ b/Source/cmExecProgramCommand.h @@ -3,7 +3,14 @@ #ifndef cmExecProgramCommand_h #define cmExecProgramCommand_h +#include <cmConfigure.h> +#include <string> +#include <vector> + #include "cmCommand.h" +#include "cmProcessOutput.h" + +class cmExecutionStatus; /** \class cmExecProgramCommand * \brief Command that adds a target to the build system. @@ -15,6 +22,7 @@ class cmExecProgramCommand : public cmCommand { public: + typedef cmProcessOutput::Encoding Encoding; /** * This is a virtual constructor for the command. */ @@ -37,12 +45,11 @@ public: */ bool IsScriptable() const CM_OVERRIDE { return true; } - cmTypeMacro(cmExecProgramCommand, cmCommand); - private: static bool RunCommand(const char* command, std::string& output, int& retVal, const char* directory = CM_NULLPTR, - bool verbose = true); + bool verbose = true, + Encoding encoding = cmProcessOutput::Auto); }; #endif |