summaryrefslogtreecommitdiff
path: root/config/objectbox.mpb
diff options
context:
space:
mode:
Diffstat (limited to 'config/objectbox.mpb')
-rw-r--r--config/objectbox.mpb16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/objectbox.mpb b/config/objectbox.mpb
new file mode 100644
index 00000000..db42c338
--- /dev/null
+++ b/config/objectbox.mpb
@@ -0,0 +1,16 @@
+// -*- MPC -*-
+project {
+ Define_Custom(objectbox) {
+ command = $(OBJECTBOX_ROOT)/bin/objectbox-generator
+ commandflags = -cpp
+ pch_postrule = 1
+ inputext = .fbs
+ pre_extension = .obx
+ source_outputext = .cpp
+ header_outputext = .hpp
+ }
+
+ includes += $(OBJECTBOX_ROOT)/include
+ libpaths += $(OBJECTBOX_ROOT)/lib
+ lit_libs += objectbox
+}