jowr / SQLife3

CMake-based SQLite3 Swiss Army Knife - provides wrappers and ORM and supports encryption

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQLife3 - SQLite3 Swiss Army Knife

AppVeyor Windows builds Travis CI Linux and OSX builds

This colelction of CMake scripts provides easy access to the following very useful SQLite-related libraries.

Please note that the listed projects all have their own license. You should check whether you can use all components from this package in your code.

How to use it?

If you have everything configured correctly within CMake, you should simply include this directory in your CMakeLists.txt.

Note that you can configure static and dynamic builds via the global CMake option BUILD_SHARED_LIBS=ON or on a per component basis using XXX_BUILD_SHARED_LIBS=ON, but remember to deploy or install the shared libraries with your project if it not available on the target machine.

ORM C++14

mkdir build
cmake .. -G "Visual Studio 15 2017 Win64"
cmake --build .

If you only would like to include Qwt in your application, than there is a macro that should help you to handle the include paths and the deployment of the shared library:

add_executable(your_executable ${YOUR_SOURCES})
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/externals/SQLife3)
add_sqlite3_to_target(your_executable)

References

[1]https://github.com/utelle/wxsqlite3
[2]https://github.com/SRombauts/SQLiteCpp
[3]https://github.com/fnc12/sqlite_orm

About

CMake-based SQLite3 Swiss Army Knife - provides wrappers and ORM and supports encryption

License:MIT License


Languages

Language:CMake 100.0%