summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand/generator.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/generator.cxx
parent9ccc27864e57d92e175dad630f6abe8c7ba181ad (diff)
downloadCMake-48cd349c810d5bbe8baf49463e5361c19cc62df5.zip
CMake-48cd349c810d5bbe8baf49463e5361c19cc62df5.tar.gz
CMake-48cd349c810d5bbe8baf49463e5361c19cc62df5.tar.bz2
fixes for HP
Diffstat (limited to 'Tests/CustomCommand/generator.cxx')
-rw-r--r--Tests/CustomCommand/generator.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CustomCommand/generator.cxx b/Tests/CustomCommand/generator.cxx
new file mode 100644
index 0000000..0cb70db
--- /dev/null
+++ b/Tests/CustomCommand/generator.cxx
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+ FILE *fp = fopen(argv[1],"w");
+
+ fprintf(fp,"int generated() { return 3; }\n");
+ fclose(fp);
+}