summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping/fakefluid.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-09 19:40:31 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-09 19:40:31 (GMT)
commita91947039a025df00403be2cadba469346f274a8 (patch)
tree67f7cfbde67246ac19514b692d966c71b75083a1 /Tests/Wrapping/fakefluid.cxx
parentaa9734ab6ceab283c83615ea52644ff730651dbc (diff)
downloadCMake-a91947039a025df00403be2cadba469346f274a8.zip
CMake-a91947039a025df00403be2cadba469346f274a8.tar.gz
CMake-a91947039a025df00403be2cadba469346f274a8.tar.bz2
ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile
Diffstat (limited to 'Tests/Wrapping/fakefluid.cxx')
-rw-r--r--Tests/Wrapping/fakefluid.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/Wrapping/fakefluid.cxx b/Tests/Wrapping/fakefluid.cxx
new file mode 100644
index 0000000..25c6e93
--- /dev/null
+++ b/Tests/Wrapping/fakefluid.cxx
@@ -0,0 +1,16 @@
+#include <stdio.h>
+#include <string.h>
+int main(int ac, char** av)
+{
+ for(int i =0; i < ac; ++i)
+ {
+ if(strcmp(av[i], "-o") == 0)
+ {
+ FILE* file = fopen(av[i+1], "w");
+ fprintf(file, "// hello\n");
+ fclose(file);
+ return 0;
+ }
+ }
+ return 0;
+}