summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.h
diff options
context:
space:
mode:
authorPatrick Northon <northon_patrick3@yahoo.ca>2022-07-08 19:49:02 (GMT)
committerPatrick Northon <northon_patrick3@yahoo.ca>2022-07-08 19:49:02 (GMT)
commita2cd0687db1afec58d5f42a94bb85b2e2ce301fe (patch)
tree8297ac568aeab79b1b1e7148881dc38aa75d2ad5 /Source/cmTryRunCommand.h
parentfc30196e76dcbc47f045b451adbab643a2387700 (diff)
downloadCMake-a2cd0687db1afec58d5f42a94bb85b2e2ce301fe.zip
CMake-a2cd0687db1afec58d5f42a94bb85b2e2ce301fe.tar.gz
CMake-a2cd0687db1afec58d5f42a94bb85b2e2ce301fe.tar.bz2
try_run: Add RUN_OUTPUT_STDOUT_VARIABLE and RUN_OUTPUT_STDERR_VARIABLE.
Diffstat (limited to 'Source/cmTryRunCommand.h')
-rw-r--r--Source/cmTryRunCommand.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h
index d45acd8..ccf678e 100644
--- a/Source/cmTryRunCommand.h
+++ b/Source/cmTryRunCommand.h
@@ -39,15 +39,21 @@ public:
private:
void RunExecutable(const std::string& runArgs,
- std::string* runOutputContents);
+ std::string* runOutputContents,
+ std::string* runOutputStdOutContents,
+ std::string* runOutputStdErrContents);
void DoNotRunExecutable(const std::string& runArgs,
const std::string& srcFile,
- std::string* runOutputContents);
+ std::string* runOutputContents,
+ std::string* runOutputStdOutContents,
+ std::string* runOutputStdErrContents);
std::string CompileResultVariable;
std::string RunResultVariable;
std::string OutputVariable;
std::string RunOutputVariable;
+ std::string RunOutputStdOutVariable;
+ std::string RunOutputStdErrVariable;
std::string CompileOutputVariable;
std::string WorkingDirectory;
};