Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sjinks/sqlite3-cmake
libsqlite3 with CMake support
https://github.com/sjinks/sqlite3-cmake
cmake cmake-lib libsqlite3 sqlite sqlite3
Last synced: 5 days ago
JSON representation
libsqlite3 with CMake support
- Host: GitHub
- URL: https://github.com/sjinks/sqlite3-cmake
- Owner: sjinks
- License: mit
- Created: 2024-01-28T02:00:37.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-11-09T23:18:53.000Z (9 days ago)
- Last Synced: 2024-11-10T00:19:26.460Z (9 days ago)
- Topics: cmake, cmake-lib, libsqlite3, sqlite, sqlite3
- Language: CMake
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sqlite3-cmake
[![Build](https://github.com/sjinks/sqlite3-cmake/actions/workflows/build.yml/badge.svg)](https://github.com/sjinks/sqlite3-cmake/actions/workflows/build.yml)
libsqlite3 with CMake support.
## Usage with [FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html)
```cmake
include(FetchContent)
FetchContent_Declare(sqlite3 GIT_REPOSITORY https://github.com/sjinks/sqlite3-cmake GIT_TAG v3.45.1)
FetchContent_MakeAvailable(sqlite3)target_link_libraries(mytarget sqlite3::sqlite3)
```## Usage with [CPM.cmake](https://github.com/cpm-cmake/CPM.cmake)
```cmake
file(DOWNLOAD https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.40.2/CPM.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)
include(${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)CPMAddPackage("gh:sjinks/[email protected]")
```