summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorocielliottc <elliottc@objectcomputing.com>2023-02-17 12:01:33 -0600
committerGitHub <noreply@github.com>2023-02-17 12:01:33 -0600
commit2ba26030a1929e3bbfaa6753fabb63ab87df25c2 (patch)
tree15c135f9804c9c5d9e66604ee37318fb28c2384b /config
parent33c20e2c48c225ba57e7784c543a7d8c02d76d06 (diff)
parent92be6443e0b606ea918fec4846b35ad14f3df6f7 (diff)
downloadMPC-2ba26030a1929e3bbfaa6753fabb63ab87df25c2.tar.gz
Merge pull request #178 from DOCGroup/elliottc/more_databasesACE+TAO-7_1_0Latest_ACE7TAO3_MinorLatest_ACE7TAO3_Micro
Support for more databases and utilities
Diffstat (limited to 'config')
-rw-r--r--config/bsoncxx.mpb6
-rw-r--r--config/fuerte.mpb7
-rw-r--r--config/mongodb.mpb8
-rw-r--r--config/msgpack.mpb2
-rw-r--r--config/objectstore.mpb22
-rw-r--r--config/odb_mysql.mpb2
-rw-r--r--config/op_lite.mpb6
-rw-r--r--config/rdfox.mpb10
-rw-r--r--config/redisxx.mpb12
-rw-r--r--config/velocypack.mpb10
10 files changed, 78 insertions, 7 deletions
diff --git a/config/bsoncxx.mpb b/config/bsoncxx.mpb
new file mode 100644
index 00000000..f56b811b
--- /dev/null
+++ b/config/bsoncxx.mpb
@@ -0,0 +1,6 @@
+// -*- MPC -*-
+project: boost_base {
+ includes += $(MONGODB_ROOT)/include/bsoncxx/v_noabi
+ libpaths += $(MONGODB_ROOT)/lib
+ lit_libs += bsoncxx bson-1.0
+}
diff --git a/config/fuerte.mpb b/config/fuerte.mpb
new file mode 100644
index 00000000..8d3d517f
--- /dev/null
+++ b/config/fuerte.mpb
@@ -0,0 +1,7 @@
+// -*- MPC -*-
+project: boost_date_time, openssl, velocypack {
+ macros += NGHTTP2_STATICLIB
+ includes += $(FUERTE_ROOT)/include
+ libpaths += $(FUERTE_ROOT)/lib
+ lit_libs += fuerte llhttp nghttp2
+}
diff --git a/config/mongodb.mpb b/config/mongodb.mpb
index 104c72a6..74dbdbf8 100644
--- a/config/mongodb.mpb
+++ b/config/mongodb.mpb
@@ -1,7 +1,5 @@
// -*- MPC -*-
-project: boost_base {
- includes += $(MONGODB_ROOT)/include/mongocxx/v_noabi \
- $(MONGODB_ROOT)/include/bsoncxx/v_noabi
- libpaths += $(MONGODB_ROOT)/lib
- lit_libs += mongocxx mongoc-1.0 bsoncxx bson-1.0
+project: bsoncxx {
+ includes += $(MONGODB_ROOT)/include/mongocxx/v_noabi
+ lit_libs += mongocxx mongoc-1.0
}
diff --git a/config/msgpack.mpb b/config/msgpack.mpb
index d5bd71c8..79842f6f 100644
--- a/config/msgpack.mpb
+++ b/config/msgpack.mpb
@@ -1,3 +1,3 @@
-project {
+project: boost_base {
includes += $(MSGPACK_ROOT)/include
}
diff --git a/config/objectstore.mpb b/config/objectstore.mpb
new file mode 100644
index 00000000..0455f640
--- /dev/null
+++ b/config/objectstore.mpb
@@ -0,0 +1,22 @@
+// -*- MPC -*-
+project {
+ Define_Custom(Schema) {
+ automatic_in = 1
+ automatic_out = 1
+ command = $(OS_ROOTDIR)/bin/ossg
+ commandflags = -I $(OS_ROOTDIR)/include \
+ -asdb <%input_noext%>.adb -asof <%input_noext%>.obj
+ inputext = .imp
+ generic_outputext = .obj, .adb
+ keyword schemaflags = commandflags
+ }
+
+ includes += $(OS_ROOTDIR)/include
+ libpaths += $(OS_ROOTDIR)/lib
+ libs += ostore
+
+ specific(prop:microsoft) {
+ macros += _CRT_SECURE_NO_WARNINGS
+ exceptionhandling = Async
+ }
+}
diff --git a/config/odb_mysql.mpb b/config/odb_mysql.mpb
index 9da902bd..ae7c3721 100644
--- a/config/odb_mysql.mpb
+++ b/config/odb_mysql.mpb
@@ -17,7 +17,7 @@ project: mysql {
macros += DATABASE_MYSQL LIBODB_MYSQL_INCLUDE_SHORT
includes += $(ODB_ROOT)
- libpaths += $(ODB_ROOT)/lib
+ libpaths += $(ODB_ROOT)/lib64 $(ODB_ROOT)/lib
specific(prop:windows) {
macros += WIN32_LEAN_AND_MEAN
diff --git a/config/op_lite.mpb b/config/op_lite.mpb
new file mode 100644
index 00000000..9dfb607b
--- /dev/null
+++ b/config/op_lite.mpb
@@ -0,0 +1,6 @@
+// -*- MPC -*-
+project: boost_base, msgpack {
+ includes += $(OP_LITE_ROOT)
+ libpaths += $(OP_LITE_ROOT)/lib
+ libs += op_lite
+}
diff --git a/config/rdfox.mpb b/config/rdfox.mpb
new file mode 100644
index 00000000..a718b546
--- /dev/null
+++ b/config/rdfox.mpb
@@ -0,0 +1,10 @@
+// -*- MPC -*-
+project {
+ includes += $(RDFOX_ROOT)/include
+ libpaths += $(RDFOX_ROOT)/lib
+ lit_libs += libRDFox
+
+ specific(prop:microsoft) {
+ exceptionhandling = Async
+ }
+}
diff --git a/config/redisxx.mpb b/config/redisxx.mpb
new file mode 100644
index 00000000..c11c253e
--- /dev/null
+++ b/config/redisxx.mpb
@@ -0,0 +1,12 @@
+// -*- MPC -*-
+project {
+ includes += $(REDIS_ROOT)/include
+ libpaths += $(REDIS_ROOT)/lib
+ lit_libs += redis++
+ libs += hiredis
+
+ specific(prop:microsoft) {
+ LanguageStandard = stdcpp17
+ DisableSpecificWarnings += 4200
+ }
+}
diff --git a/config/velocypack.mpb b/config/velocypack.mpb
new file mode 100644
index 00000000..31fc0d5d
--- /dev/null
+++ b/config/velocypack.mpb
@@ -0,0 +1,10 @@
+// -*- MPC -*-
+project {
+ includes += $(VELOCYPACK_ROOT)/include
+ libpaths += $(VELOCYPACK_ROOT)/lib
+ lit_libs += velocypack
+
+ specific(prop:microsoft) {
+ LanguageStandard = stdcpp20
+ }
+}