diff options
author | Chad Elliott <elliottc@objectcomputing.com> | 2023-02-13 11:31:24 -0600 |
---|---|---|
committer | Chad Elliott <elliottc@objectcomputing.com> | 2023-02-13 11:31:24 -0600 |
commit | d12b564a074f734559ae727415717cdecf605f87 (patch) | |
tree | bac6d25098485346d9c67a2c850d78d3a61c9858 | |
parent | fa040f2b1e7459119c23d94b18aa0529e5375b3d (diff) | |
download | MPC-d12b564a074f734559ae727415717cdecf605f87.tar.gz |
Split bson from mongodb and added fuerte, objectstore, op_lite, and redis++.
-rw-r--r-- | config/bsoncxx.mpb | 6 | ||||
-rw-r--r-- | config/fuerte.mpb | 12 | ||||
-rw-r--r-- | config/mongodb.mpb | 8 | ||||
-rw-r--r-- | config/objectstore.mpb | 22 | ||||
-rw-r--r-- | config/op_lite.mpb | 6 | ||||
-rw-r--r-- | config/redisxx.mpb | 12 |
6 files changed, 61 insertions, 5 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..d25967a5 --- /dev/null +++ b/config/fuerte.mpb @@ -0,0 +1,12 @@ +// -*- MPC -*- +project: boost_date_time, openssl { + macros += NGHTTP2_STATICLIB + includes += $(ARANGODB_ROOT)/include + libpaths += $(ARANGODB_ROOT)/lib + lit_libs += fuerte llhttp nghttp2 velocypack + + specific(prop:microsoft) { + LanguageStandard = stdcpp20 + //DisableSpecificWarnings += 26481 + } +} 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/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/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/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 + } +} |