Installation
JonoonDB is available and supported only as a 64bit library. JonoonDB has to be built from source and then installed. Before building JonoonDB, you have to build/install its 3rd party dependencies.
JonoonDB is available and supported only as a 64bit library. JonoonDB has to be built from source and then installed. Before building JonoonDB, you have to build/install its 3rd party dependencies.
JonoonDB requires a C++ compiler that at least supports C++14 standard. It should work with the following compilers:
Using cmake you can generate project files for Visual Studio, Eclipse CDT and other IDEs. After that you can build using your IDE of choice. On Linux you can also generate makefile if you don't want to use IDEs.
CMAKE_INSTALL_PREFIX sets the install directory where JonoonDB will be installed. If you don't specify it then this variable defaults to /usr/local on Linux/MacOS X and C:/Program Files on Windows.
Execute the commands given below to clone and generate the solution file for VS 2015:
git clone https://github.com/zarianw/jonoondb.git cd jonoondb/ mkdir build cd build cmake .. -G "Visual Studio 14 Win64" -Dgtest_force_shared_crt=ON -DCMAKE_INSTALL_PREFIX=/path/to/install/directory
Please note that -G "Visual Studio 14 Win64" command line argument shown above generates the files for VS 2015 with 64bit build configuration. To generate project files for Eclipse CDT4 on Linux use -G "Eclipse CDT4 - Unix Makefiles". You can list all the available cmake generators by typing cmake --help.
git clone https://github.com/zarianw/jonoondb.git cd jonoondb/ mkdir build cd build cmake .. -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/path/to/install/directory make
If you want to run unittests from terminal then you can type "ctest -V" from inside the build directory.
Its time to install JonoonDB library and headers in the location specified by CMAKE_INSTALL_PREFIX above.
On windows, just build the INSTALL project from within Visual Studio.
On Linux/MacOS X, just execute the command sudo make install.
That's it folks. You should see the JonoonDB library, tools and headers in the install directory.