link_LMDB.xcpjh
//////////////////// LMDB //////////////////////
/*
Lightning Memory-Mapped Database
--------------------------------
Instructions for Windows
1) Download lmdb-mdb.master.zip from https://github.com/LMDB/lmdb
2) Unzip somewhere
3) Create VS2015 Win32 project which is a static library named 'lmdb' located at
C:\developer\_root_\ThirdParty.Ceda\lmdb
4) Copy the following files from inside lmdb-mdb.master.zip to C:\developer\_root_\ThirdParty.Ceda\lmdb
lmdb.h
midl.h
mdb.c
midl.c
5) Build configuration Release|x64
*/
@if (IsWindowsPlatform)
{
$LMDB = "C:/developer/_root_/ThirdParty.Ceda/lmdb"
+cpp
{
/I "$(LMDB)"
/D "CEDA_USING_LMDB"
}
+link("Win32")
{
}
+link("x64")
{
"$(LMDB)/x64/Release/lmdb.lib"
"ntdll.lib"
}
}