diff options
Diffstat (limited to 'Tests/ComplexRelativePaths/Library/file2.cxx')
-rw-r--r-- | Tests/ComplexRelativePaths/Library/file2.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/ComplexRelativePaths/Library/file2.cxx b/Tests/ComplexRelativePaths/Library/file2.cxx index 1351669..29bc9d8 100644 --- a/Tests/ComplexRelativePaths/Library/file2.cxx +++ b/Tests/ComplexRelativePaths/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; +} |