diff options
Diffstat (limited to 'Tests/Complex/Library/file2.cxx')
-rw-r--r-- | Tests/Complex/Library/file2.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/Complex/Library/file2.cxx b/Tests/Complex/Library/file2.cxx index 1351669..29bc9d8 100644 --- a/Tests/Complex/Library/file2.cxx +++ b/Tests/Complex/Library/file2.cxx @@ -1,4 +1,23 @@ +#include <Library/cmTestLibraryConfigure.h> +#include <string.h> + int file2() { return 1; } + +int PropertyTest() +{ + int ret = 1; +#ifndef ISABS + ret = 0; +#endif +#ifndef WRAPEX + ret = 0; +#endif + if(strcmp(FLAGS,"-foo -bar") != 0) + { + ret =0; + } + return ret; +} |