diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-24 18:30:09 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-24 18:30:09 (GMT) |
commit | 504ea6df4ef615cb16db2d8f647185adc417861d (patch) | |
tree | 87f9f708d82ff7b71f9d4cfbacc38ea4ce448573 /Source | |
parent | 7147c3e1cc23953abc968e9502669ef7628de75c (diff) | |
download | CMake-504ea6df4ef615cb16db2d8f647185adc417861d.zip CMake-504ea6df4ef615cb16db2d8f647185adc417861d.tar.gz CMake-504ea6df4ef615cb16db2d8f647185adc417861d.tar.bz2 |
COMP: try to fix the test failures on dash2
Alex
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTryRunCommand.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx index 54e7a2d..6f8f7cf 100644 --- a/Source/cmTryRunCommand.cxx +++ b/Source/cmTryRunCommand.cxx @@ -73,6 +73,8 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv) // do the try compile int res = this->TryCompileCode(tryCompile); + printf("TryCompile: %d outputFile: -%s-\n", res, this->OutputFile.c_str()); + // now try running the command if it compiled if (!res) { @@ -94,6 +96,10 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv) bool worked = cmSystemTools::RunSingleCommand(finalCommand.c_str(), &output, &retVal, 0, false, timeout); + + printf("worked: %d output: -%s-\n", worked?1:0, output.c_str()); + + if(outputVariable.size()) { // if the TryCompileCore saved output in this outputVariable then |