mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
Add MongoDB
This commit is contained in:
parent
249a813db4
commit
f41e6f1b5b
@ -94,7 +94,7 @@ ELSE ()
|
||||
ENDIF ()
|
||||
|
||||
# Set local include path
|
||||
include_directories( CppUnit/include Foundation/include XML/include Net/include NetSSL_OpenSSL/include Util/include Data/include WebWidgets/include Zip/include Crypto/include Web/include JSON/include PDF/include)
|
||||
include_directories( CppUnit/include Foundation/include XML/include Net/include NetSSL_OpenSSL/include Util/include Data/include WebWidgets/include Zip/include Crypto/include Web/include JSON/include MongoDB/include PDF/include)
|
||||
|
||||
include(CheckTypeSize)
|
||||
include(FindCygwin)
|
||||
@ -159,6 +159,7 @@ ENDIF ()
|
||||
add_subdirectory(Foundation)
|
||||
add_subdirectory(XML)
|
||||
add_subdirectory(JSON)
|
||||
add_subdirectory(MongoDB)
|
||||
add_subdirectory(PDF)
|
||||
add_subdirectory(Util)
|
||||
add_subdirectory(Net)
|
||||
|
14
Makefile
14
Makefile
@ -31,7 +31,7 @@ poco: libexecs $(if $(TESTS),tests) $(if $(SAMPLES),samples)
|
||||
all: libexecs tests samples
|
||||
|
||||
INSTALLDIR = $(DESTDIR)$(POCO_PREFIX)
|
||||
COMPONENTS = Foundation XML Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL Zip PageCompiler PageCompiler/File2Page PDF CppParser JSON
|
||||
COMPONENTS = Foundation XML Util Net Crypto NetSSL_OpenSSL Data Data/SQLite Data/ODBC Data/MySQL Zip PageCompiler PageCompiler/File2Page PDF CppParser JSON MongoDB
|
||||
|
||||
cppunit:
|
||||
$(MAKE) -C $(POCO_BASE)/CppUnit
|
||||
@ -51,8 +51,8 @@ install: libexecs
|
||||
find $(POCO_BUILD)/lib -name "libPoco*" -type f -exec cp -f {} $(INSTALLDIR)/lib$(LIB64SUFFIX) \;
|
||||
find $(POCO_BUILD)/lib -name "libPoco*" -type l -exec cp -Rf {} $(INSTALLDIR)/lib$(LIB64SUFFIX) \;
|
||||
|
||||
libexecs = Foundation-libexec XML-libexec JSON-libexec Util-libexec Net-libexec Crypto-libexec NetSSL_OpenSSL-libexec Data-libexec Data/SQLite-libexec Data/ODBC-libexec Data/MySQL-libexec Zip-libexec PageCompiler-libexec PageCompiler/File2Page-libexec PDF-libexec CppParser-libexec
|
||||
tests = Foundation-tests XML-tests JSON-tests Util-tests Net-tests Crypto-tests NetSSL_OpenSSL-tests Data-tests Data/SQLite-tests Data/ODBC-tests Data/MySQL-tests Zip-tests PDF-tests CppParser-tests
|
||||
libexecs = Foundation-libexec XML-libexec JSON-libexec Util-libexec Net-libexec Crypto-libexec NetSSL_OpenSSL-libexec Data-libexec Data/SQLite-libexec Data/ODBC-libexec Data/MySQL-libexec Zip-libexec PageCompiler-libexec PageCompiler/File2Page-libexec PDF-libexec CppParser-libexec MongoDB-libexec
|
||||
tests = Foundation-tests XML-tests JSON-tests Util-tests Net-tests Crypto-tests NetSSL_OpenSSL-tests Data-tests Data/SQLite-tests Data/ODBC-tests Data/MySQL-tests Zip-tests PDF-tests CppParser-tests MongoDB-tests
|
||||
samples = Foundation-samples XML-samples JSON-samples Util-samples Net-samples Crypto-samples NetSSL_OpenSSL-samples Data-samples Zip-samples PageCompiler-samples PDF-samples
|
||||
|
||||
.PHONY: poco all libexecs cppunit tests samples clean distclean install
|
||||
@ -187,6 +187,12 @@ CppParser-libexec: Foundation-libexec
|
||||
CppParser-tests: CppParser-libexec
|
||||
$(MAKE) -C $(POCO_BASE)/CppParser/testsuite
|
||||
|
||||
MongoDB-libexec: Foundation-libexec Net-libexec
|
||||
$(MAKE) -C $(POCO_BASE)/MongoDB
|
||||
|
||||
MongoDB-tests: MongoDB-libexec Net-libexec cppunit
|
||||
$(MAKE) -C $(POCO_BASE)/MongoDB/testsuite
|
||||
|
||||
|
||||
clean:
|
||||
$(MAKE) -C $(POCO_BASE)/Foundation clean
|
||||
@ -231,6 +237,8 @@ clean:
|
||||
$(MAKE) -C $(POCO_BASE)/JSON clean
|
||||
$(MAKE) -C $(POCO_BASE)/JSON/testsuite clean
|
||||
$(MAKE) -C $(POCO_BASE)/JSON/samples clean
|
||||
$(MAKE) -C $(POCO_BASE)/MongoDB clean
|
||||
$(MAKE) -C $(POCO_BASE)/MongoDB/testsuite clean
|
||||
|
||||
distclean:
|
||||
rm -rf $(POCO_BUILD)/lib
|
||||
|
@ -18,3 +18,4 @@ PDF
|
||||
CppParser
|
||||
PocoDoc
|
||||
ProGen
|
||||
MongoDB
|
||||
|
Loading…
Reference in New Issue
Block a user