mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-10 23:43:58 +03:00
FindSQLite3: Sync documentation
- Added intro code block showing how to use this module. - Resorted variables and synced their descriptions with other similar find modules.
This commit is contained in:
1 file changed
+19
-10
+19
-10
@@ -7,9 +7,14 @@ FindSQLite3
|
||||
|
||||
.. versionadded:: 3.14
|
||||
|
||||
Finds the SQLite 3 library. SQLite is a small, fast, self-contained,
|
||||
high-reliability, and full-featured SQL database engine written in C, intended
|
||||
for embedding in applications.
|
||||
Finds the SQLite 3 library:
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
find_package(SQLite3 [<version>] [...])
|
||||
|
||||
SQLite is a small, fast, self-contained, high-reliability, and full-featured
|
||||
SQL database engine written in C, intended for embedding in applications.
|
||||
|
||||
Imported Targets
|
||||
^^^^^^^^^^^^^^^^
|
||||
@@ -23,17 +28,21 @@ This module provides the following :ref:`Imported Targets`:
|
||||
Result Variables
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
This module sets the following variables:
|
||||
This module defines the following variables:
|
||||
|
||||
``SQLite3_FOUND``
|
||||
Boolean indicating whether (the requested version of) SQLite library is
|
||||
found.
|
||||
|
||||
``SQLite3_VERSION``
|
||||
The version of SQLite library found.
|
||||
|
||||
``SQLite3_INCLUDE_DIRS``
|
||||
Include directories containing the ``sqlite3.h`` and related headers needed
|
||||
to use SQLite.
|
||||
Include directories containing the ``<sqlite3.h>`` and related headers
|
||||
needed to use SQLite.
|
||||
|
||||
``SQLite3_LIBRARIES``
|
||||
Libraries needed to link against to use SQLite.
|
||||
``SQLite3_VERSION``
|
||||
Version of the SQLite library found.
|
||||
``SQLite3_FOUND``
|
||||
Boolean indicating whether the SQLite library is found.
|
||||
|
||||
Examples
|
||||
^^^^^^^^
|
||||
|
||||
Reference in new issue
Block a user