Skip to content

Commit

Permalink
added mongo-cxx-driver to vcpkg. TODO: Figure why the vcpkg is failin…
Browse files Browse the repository at this point in the history
…g to build mongocxx
  • Loading branch information
MrNen committed Nov 28, 2023
1 parent 5bf7c00 commit 59a2c11
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
21 changes: 21 additions & 0 deletions include/Core/Database.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#pragma once

#include <string>

#include "bsoncxx/builder/basic/document.hpp"
#include <bsoncxx/json.hpp>
#include <mongocxx/client.hpp>
#include <mongocxx/instance.hpp>
#include <mongocxx/stdx.hpp>
#include <mongocxx/uri.hpp>
#include <bsoncxx/builder/stream/document.hpp>


class Database
{

Database();
~Database();


};
1 change: 1 addition & 0 deletions project/FLHook.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
<ClInclude Include="..\Include\Core\Commands\CommandLineParser.hpp" />
<ClInclude Include="..\Include\Core\Commands\ExternalCommandProcessor.hpp" />
<ClInclude Include="..\Include\Core\Commands\UserCommandProcessor.hpp" />
<ClInclude Include="..\Include\Core\Database.hpp" />
<ClInclude Include="..\include\Core\DebugTools.hpp" />
<ClInclude Include="..\include\Core\ExceptionHandler.hpp" />
<ClInclude Include="..\Include\Core\ClientServerInterface.hpp" />
Expand Down
3 changes: 3 additions & 0 deletions project/FLHook.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -516,5 +516,8 @@
<ClInclude Include="..\include\API\FLHook\PersonalityHelper.hpp">
<Filter>Include\API\FLHook</Filter>
</ClInclude>
<ClInclude Include="..\Include\Core\Database.hpp">
<Filter>Include\Core</Filter>
</ClInclude>
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
{
"name": "sqlite-orm",
"version>=": "1.8.1"
},
{
"name" : "mongo-cxx-driver",
"version>=" : "3.9.0"
}
]
}

0 comments on commit 59a2c11

Please sign in to comment.