diff options
author | Brad King <brad.king@kitware.com> | 2011-12-23 20:34:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-12-23 21:16:52 (GMT) |
commit | 49d6dd67f1c2b3d21a47c28f6e0908062f300e4f (patch) | |
tree | dad5ebfe6b620f4e166eb1d80a971ff616eaa02d /Tests/Complex/Executable/A.cxx | |
parent | 76ac88b730f32dcdef80216766b3eaecb6257ed6 (diff) | |
download | CMake-49d6dd67f1c2b3d21a47c28f6e0908062f300e4f.zip CMake-49d6dd67f1c2b3d21a47c28f6e0908062f300e4f.tar.gz CMake-49d6dd67f1c2b3d21a47c28f6e0908062f300e4f.tar.bz2 |
complex: Simplify test for single-character exe name
Run the test executable as a custom command instead of depending on
cmSystemTools::RunSingleCommand.
Diffstat (limited to 'Tests/Complex/Executable/A.cxx')
-rw-r--r-- | Tests/Complex/Executable/A.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/Complex/Executable/A.cxx b/Tests/Complex/Executable/A.cxx index 0cc995a..fb3eb08 100644 --- a/Tests/Complex/Executable/A.cxx +++ b/Tests/Complex/Executable/A.cxx @@ -1,7 +1,9 @@ // Include code from a header that should not be compiled separately. #include "A.hh" +#include <stdio.h> int main() { - return A(); + printf("#define A_VALUE %d\n", A()); + return 0; } |