aboutsummaryrefslogtreecommitdiffstats
path: root/support/magicleap/Servo2D/code/src/main.cpp
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2018-09-12 17:21:51 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2018-10-29 08:49:41 -0500
commitdab8f4a97fe8c122d24281ea7c62ccb3c7bba621 (patch)
treefec6a477145188b9dda3713c8ff8992a2f60b030 /support/magicleap/Servo2D/code/src/main.cpp
parente580250d5d99060b0ee8d88e3ff66b6d9ec24050 (diff)
downloadservo-dab8f4a97fe8c122d24281ea7c62ccb3c7bba621.tar.gz
servo-dab8f4a97fe8c122d24281ea7c62ccb3c7bba621.zip
Support building for Magic Leap.
Diffstat (limited to 'support/magicleap/Servo2D/code/src/main.cpp')
-rw-r--r--support/magicleap/Servo2D/code/src/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/support/magicleap/Servo2D/code/src/main.cpp b/support/magicleap/Servo2D/code/src/main.cpp
new file mode 100644
index 00000000000..d8abed18c34
--- /dev/null
+++ b/support/magicleap/Servo2D/code/src/main.cpp
@@ -0,0 +1,13 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#include <Servo2D.h>
+#include <ml_logging.h>
+
+int main(int argc, char **argv)
+{
+ ML_LOG(Debug, "Servo2D Starting.");
+ Servo2D myApp;
+ return myApp.run();
+}