diff options
author | Brad King <brad.king@kitware.com> | 2006-06-02 16:19:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-06-02 16:19:16 (GMT) |
commit | e1c110d2448e09ca087b9ac42dac04934bad8de6 (patch) | |
tree | ac626be76c3d0df30d8a35cce08539179cd5c1d9 /Tests/Wrapping/fakefluid.cxx | |
parent | 886c559518ebf39ac91d6048c9c92320a9cde82e (diff) | |
download | CMake-e1c110d2448e09ca087b9ac42dac04934bad8de6.zip CMake-e1c110d2448e09ca087b9ac42dac04934bad8de6.tar.gz CMake-e1c110d2448e09ca087b9ac42dac04934bad8de6.tar.bz2 |
BUG: Custom commands should actually generate the files they claim to generate.
Diffstat (limited to 'Tests/Wrapping/fakefluid.cxx')
-rw-r--r-- | Tests/Wrapping/fakefluid.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/Wrapping/fakefluid.cxx b/Tests/Wrapping/fakefluid.cxx index 25c6e93..6e71eab 100644 --- a/Tests/Wrapping/fakefluid.cxx +++ b/Tests/Wrapping/fakefluid.cxx @@ -4,8 +4,10 @@ int main(int ac, char** av) { for(int i =0; i < ac; ++i) { - if(strcmp(av[i], "-o") == 0) + if(strcmp(av[i], "-o") == 0 || + strcmp(av[i], "-h") == 0) { + fprintf(stdout, "fakefluid is creating file \"%s\"\n", av[i+1]); FILE* file = fopen(av[i+1], "w"); fprintf(file, "// hello\n"); fclose(file); |