From eae24982eb6481e1e76bd0b7684e6e5261343c4a Mon Sep 17 00:00:00 2001 From: silverqx Date: Wed, 24 Apr 2024 09:48:51 +0200 Subject: [PATCH] docs whitespaces [skip ci] --- docs/building/tinyorm.mdx | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/building/tinyorm.mdx b/docs/building/tinyorm.mdx index 43dd8947a..ef052c77b 100644 --- a/docs/building/tinyorm.mdx +++ b/docs/building/tinyorm.mdx @@ -486,25 +486,25 @@ CMake multi-config generators like `Ninja Multi-Config` or `Visual Studio 16 201
-| Option Name | Default | Description | -| --------------------------------- | ------- | ----------- | -| `BUILD_DRIVERS` | `OFF` | Build [TinyDrivers](tinydrivers/getting-started.mdx) SQL database drivers (core/common code; replaces QtSql module). | -| `BUILD_MYSQL_DRIVERS` | `OFF` | Build `TinyDrivers` MySQL database driver.
Available when: `BUILD_DRIVERS` | -| `BUILD_SHARED_LIBS` | `ON` | Build as a shared/static library. | -| `BUILD_TESTS` | `OFF` | Build TinyORM unit tests. | -| `BUILD_TREE_DEPLOY` | `ON` | Copy `TinyDrivers` and `TinyMySql` libraries to the root of the build tree. | -| `DRIVERS_TYPE` | `Shared`| How to build and link against `TinyDrivers` SQL database drivers.
The `Static` value will be select by default when the `BUILD_SHARED_LIBS` is `OFF`.
Supported values: [`Shared`](tinydrivers/getting-started.mdx#the-shared-library-build), [`Loadable`](tinydrivers/getting-started.mdx#the-loadable-sql-drivers-build), and [`Static`](tinydrivers/getting-started.mdx#the-static-build)
Available when: `BUILD_DRIVERS AND BUILD_SHARED_LIBS`
| -| `INLINE_CONSTANTS` | `OFF` | Use inline constants instead of extern constants in the `shared build`.
`OFF` is highly recommended for the `shared build`;
is always `ON` for the `static build`.
Available when: `BUILD_SHARED_LIBS` | -| `MSVC_RUNTIME_DYNAMIC` | `ON` | Use MSVC dynamic runtime library (`-MD`) instead of static (`-MT`), also considers a Debug configuration (`-MTd`, `-MDd`).
Available when: `MSVC AND NOT DEFINED CMAKE_MSVC_RUNTIME_LIBRARY` | -| `MYSQL_PING` | `OFF` | Enable `Orm::MySqlConnection::pingDatabase()` method. | -| `ORM` | `ON` | Controls the compilation of all `ORM-related` source code, when this option is `disabled`, then only the `query builder` without `ORM` is compiled. Also excludes `ORM-related` unit tests. | -| `STRICT_MODE` | `OFF` | Controls propagation of strict compiler/linker options and Qt definitions using the `TinyOrm::CommonConfig` interface library to the user code.
(highly recommended; can also be set with the `TINYORM_STRICT_MODE` environment variable; described [here](#cmake-strict_mode-option)). | -| `TOM` | `ON` | Controls the compilation of all `Tom-related` source code, when this option is `disabled`, then it also excludes `Tom-related` unit tests. | -| `TOM_EXAMPLE` | `OFF` | Build the `tom` console application example. | -| `TOM_MIGRATIONS_DIR` | `-` | Default migrations path for the `make:migration` command, can be an absolute or relative path (to the pwd).
Default value: `database/migrations` (relative to the pwd) | -| `TOM_MODELS_DIR` | `-` | Default models path for the `make:model` command, can be an absolute or relative path (to the pwd).
Default value: `database/models` (relative to the pwd) | -| `TOM_SEEDERS_DIR` | `-` | Default seeders path for the `make:seeder` command, can be an absolute or relative path (to the pwd).
Default value: `database/seeders` (relative to the pwd) | -| `VERBOSE_CONFIGURE` | `OFF` | Show information about `PACKAGES_FOUND` / `PACKAGES_NOT_FOUND` in the CMake configure output. | +| Option Name | Default | Description | +| --------------------------------- | -------- | ----------- | +| `BUILD_DRIVERS` | `OFF` | Build [TinyDrivers](tinydrivers/getting-started.mdx) SQL database drivers (core/common code; replaces QtSql module). | +| `BUILD_MYSQL_DRIVERS` | `OFF` | Build `TinyDrivers` MySQL database driver.
Available when: `BUILD_DRIVERS` | +| `BUILD_SHARED_LIBS` | `ON` | Build as a shared/static library. | +| `BUILD_TESTS` | `OFF` | Build TinyORM unit tests. | +| `BUILD_TREE_DEPLOY` | `ON` | Copy `TinyDrivers` and `TinyMySql` libraries to the root of the build tree. | +| `DRIVERS_TYPE` | `Shared` | How to build and link against `TinyDrivers` SQL database drivers.
The `Static` value will be select by default when the `BUILD_SHARED_LIBS` is `OFF`.
Supported values: [`Shared`](tinydrivers/getting-started.mdx#the-shared-library-build), [`Loadable`](tinydrivers/getting-started.mdx#the-loadable-sql-drivers-build), and [`Static`](tinydrivers/getting-started.mdx#the-static-build)
Available when: `BUILD_DRIVERS AND BUILD_SHARED_LIBS`
| +| `INLINE_CONSTANTS` | `OFF` | Use inline constants instead of extern constants in the `shared build`.
`OFF` is highly recommended for the `shared build`;
is always `ON` for the `static build`.
Available when: `BUILD_SHARED_LIBS` | +| `MSVC_RUNTIME_DYNAMIC` | `ON` | Use MSVC dynamic runtime library (`-MD`) instead of static (`-MT`), also considers a Debug configuration (`-MTd`, `-MDd`).
Available when: `MSVC AND NOT DEFINED CMAKE_MSVC_RUNTIME_LIBRARY` | +| `MYSQL_PING` | `OFF` | Enable `Orm::MySqlConnection::pingDatabase()` method. | +| `ORM` | `ON` | Controls the compilation of all `ORM-related` source code, when this option is `disabled`, then only the `query builder` without `ORM` is compiled. Also excludes `ORM-related` unit tests. | +| `STRICT_MODE` | `OFF` | Controls propagation of strict compiler/linker options and Qt definitions using the `TinyOrm::CommonConfig` interface library to the user code.
(highly recommended; can also be set with the `TINYORM_STRICT_MODE` environment variable; described [here](#cmake-strict_mode-option)). | +| `TOM` | `ON` | Controls the compilation of all `Tom-related` source code, when this option is `disabled`, then it also excludes `Tom-related` unit tests. | +| `TOM_EXAMPLE` | `OFF` | Build the `tom` console application example. | +| `TOM_MIGRATIONS_DIR` | `-` | Default migrations path for the `make:migration` command, can be an absolute or relative path (to the pwd).
Default value: `database/migrations` (relative to the pwd) | +| `TOM_MODELS_DIR` | `-` | Default models path for the `make:model` command, can be an absolute or relative path (to the pwd).
Default value: `database/models` (relative to the pwd) | +| `TOM_SEEDERS_DIR` | `-` | Default seeders path for the `make:seeder` command, can be an absolute or relative path (to the pwd).
Default value: `database/seeders` (relative to the pwd) | +| `VERBOSE_CONFIGURE` | `OFF` | Show information about `PACKAGES_FOUND` / `PACKAGES_NOT_FOUND` in the CMake configure output. |