summaryrefslogtreecommitdiffstats
path: root/Tests/CompileCommandOutput/compile_command_output.cxx
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2011-03-31 23:55:00 (GMT)
committerBrad King <brad.king@kitware.com>2011-04-25 17:27:59 (GMT)
commit0e6b05fcba61a1b113b841dd2b3e1e5060866d0e (patch)
tree7c7a2237420f7c6692e7d9d752373d1ceb4ef7cb /Tests/CompileCommandOutput/compile_command_output.cxx
parent5674844de4b74d0b66cfc6b8237e631702c43637 (diff)
downloadCMake-0e6b05fcba61a1b113b841dd2b3e1e5060866d0e.zip
CMake-0e6b05fcba61a1b113b841dd2b3e1e5060866d0e.tar.gz
CMake-0e6b05fcba61a1b113b841dd2b3e1e5060866d0e.tar.bz2
Adds a test for the compile command line output.
Diffstat (limited to 'Tests/CompileCommandOutput/compile_command_output.cxx')
-rw-r--r--Tests/CompileCommandOutput/compile_command_output.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CompileCommandOutput/compile_command_output.cxx b/Tests/CompileCommandOutput/compile_command_output.cxx
new file mode 100644
index 0000000..9487c89
--- /dev/null
+++ b/Tests/CompileCommandOutput/compile_command_output.cxx
@@ -0,0 +1,9 @@
+#include "file with spaces.h"
+#include "relative.h"
+
+int main (int argc, char** argv)
+{
+ file_with_spaces();
+ relative();
+ return 0;
+}