summaryrefslogtreecommitdiff
path: root/Tests/SourceFileProperty/main.c
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-11-21 13:21:55 -0500
committerBrad King <brad.king@kitware.com>2014-12-02 10:56:36 -0500
commitb7d760aea20f70b221fcba7ecb2c7edf7751ffc2 (patch)
tree105bcbbb5bee7350ac2988704f6bb66a3aaa4ad4 /Tests/SourceFileProperty/main.c
parent3350e4d209b6a7ff758ca371af4d62844a66ab36 (diff)
downloadcmake-b7d760aea20f70b221fcba7ecb2c7edf7751ffc2.tar.gz
test: test source file properties with case-insensitivity
Some filesystems are case insensitive, so when setting properties on the files, this should be respected (modulo a policy decision).
Diffstat (limited to 'Tests/SourceFileProperty/main.c')
-rw-r--r--Tests/SourceFileProperty/main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/SourceFileProperty/main.c b/Tests/SourceFileProperty/main.c
new file mode 100644
index 0000000000..b853408a22
--- /dev/null
+++ b/Tests/SourceFileProperty/main.c
@@ -0,0 +1,13 @@
+
+#ifndef NO_NEED_TO_CALL
+extern int icasetest();
+#endif
+
+int main(int argc, char** argv)
+{
+#ifdef NO_NEED_TO_CALL
+ return 0;
+#else
+ return icasetest();
+#endif
+}