cmake: MongoDB cleanup

- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
This commit is contained in:
Pascal Bach 2014-07-09 15:53:41 +02:00
parent 16e8ed8ab5
commit 47c70bb11e

View File

@ -1,6 +1,28 @@
set(LIBNAME "PocoMongoDB")
aux_source_directory(src SRCS)
set(SRCS
src/Array.cpp
src/Binary.cpp
src/Connection.cpp
src/Cursor.cpp
src/Database.cpp
src/DeleteRequest.cpp
src/Document.cpp
src/Element.cpp
src/GetMoreRequest.cpp
src/InsertRequest.cpp
src/JavaScriptCode.cpp
src/KillCursorsRequest.cpp
src/Message.cpp
src/MessageHeader.cpp
src/ObjectId.cpp
src/QueryRequest.cpp
src/RegularExpression.cpp
src/ReplicaSet.cpp
src/RequestMessage.cpp
src/ResponseMessage.cpp
src/UpdateRequest.cpp
)
if (NOT POCO_STATIC)
add_definitions(-DMongoDB_EXPORTS)