summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand/wrapper.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-06-04 13:02:50 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-06-04 13:02:50 (GMT)
commit48cd349c810d5bbe8baf49463e5361c19cc62df5 (patch)
tree0fbe66ccfd2b09fceec0a0e7c20b773c9d6018b3 /Tests/CustomCommand/wrapper.cxx
parent9ccc27864e57d92e175dad630f6abe8c7ba181ad (diff)
downloadCMake-48cd349c810d5bbe8baf49463e5361c19cc62df5.zip
CMake-48cd349c810d5bbe8baf49463e5361c19cc62df5.tar.gz
CMake-48cd349c810d5bbe8baf49463e5361c19cc62df5.tar.bz2
fixes for HP
Diffstat (limited to 'Tests/CustomCommand/wrapper.cxx')
-rw-r--r--Tests/CustomCommand/wrapper.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CustomCommand/wrapper.cxx b/Tests/CustomCommand/wrapper.cxx
new file mode 100644
index 0000000..b15f903
--- /dev/null
+++ b/Tests/CustomCommand/wrapper.cxx
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+ FILE *fp = fopen(argv[1],"w");
+
+ fprintf(fp,"int wrapped() { return 5; }\n");
+ fclose(fp);
+}