summaryrefslogtreecommitdiffstats
path: root/Tests/iOSNavApp/TotalFunction.c
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-09-12 17:47:13 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-09-12 19:46:24 (GMT)
commit64c9b318bf6062aa1a451d15af9e7016057168c1 (patch)
tree7c9984d86075396476a842b8c1409204574cfe25 /Tests/iOSNavApp/TotalFunction.c
parent59a22655765a46c48dc3f45189101f2e9a265776 (diff)
downloadCMake-64c9b318bf6062aa1a451d15af9e7016057168c1.zip
CMake-64c9b318bf6062aa1a451d15af9e7016057168c1.tar.gz
CMake-64c9b318bf6062aa1a451d15af9e7016057168c1.tar.bz2
Xcode: Add test to demonstrate iOS project in Xcode
Presently, this test is only run manually because not all machines have an iOS SDK, complications associated with certificates and code signing, having a device attached, ... If you're setup to do iOS dev work, you can easily run this test manually on your Mac using the Xcode generator and run the result in the simulator or on your attached device.
Diffstat (limited to 'Tests/iOSNavApp/TotalFunction.c')
-rw-r--r--Tests/iOSNavApp/TotalFunction.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/iOSNavApp/TotalFunction.c b/Tests/iOSNavApp/TotalFunction.c
new file mode 100644
index 0000000..0965a88
--- /dev/null
+++ b/Tests/iOSNavApp/TotalFunction.c
@@ -0,0 +1,14 @@
+//
+// TotalFunction.c
+// NavApp3
+//
+// Created by David Cole on 8/10/11.
+// Copyright 2011 Kitware, Inc. All rights reserved.
+//
+
+#include "TotalFunction.h"
+
+int Total(const char *context)
+{
+ return 22;
+}