diff --git a/docs/building/tinyorm.mdx b/docs/building/tinyorm.mdx index a556e83ce..4526f63e5 100644 --- a/docs/building/tinyorm.mdx +++ b/docs/building/tinyorm.mdx @@ -759,7 +759,7 @@ Everything is ready for build, you can press Ctrl+b to bui | `build_loadable_drivers` | `OFF` | Build `TinyDrivers` as a shared library and SQL database drivers (eg. `TinyMySql`) as shared libraries ([`Loadable`](tinydrivers/getting-started.mdx#the-loadable-sql-drivers-build) modules) that are loaded at runtime using `LoadLibrary()` on Windows or `dlopen()` on Linux. | | `build_mysql_driver` | `OFF` | Build `TinyDrivers` MySQL database driver.
It's enabled by default when `build_shared_drivers`, `build_loadable_drivers`, or `build_static_drivers` is enabled.
Available when: `build_shared_drivers` OR `build_loadable_drivers` OR `build_static_drivers`
| | `build_shared_drivers` | `OFF` | Build `TinyDrivers` as a [`Shared`](tinydrivers/getting-started.mdx#the-shared-library-build) library. | -| `build_static_drivers` | `OFF` | Build `TinyDrivers` as a [`Static`](tinydrivers/getting-started.mdx#the-static-build) library archive.
The `build_static_drivers` `qmake` configuration option will be select by default when the `CONFIG*=staticlib` is enabled. | +| `build_static_drivers` | `OFF` | Build `TinyDrivers` as a [`Static`](tinydrivers/getting-started.mdx#the-static-build) library archive.
The `build_static_drivers` `qmake` configuration option will be select by default when the [`CONFIG*=static`](#static) is enabled. | | `build_tests` | `OFF` | Build TinyORM unit tests. | | `disable_autoconf` | `OFF` | Disable the [`Auto-configuration`](#auto-configuration-internals) feature (auto-configuration is enabled by default from `TinyORM` `v0.34.0`). | | `disable_dotenv` | `OFF` | Disable the [`tiny_dotenv`](#environment-files) feature (environment files are enabled by default from `TinyORM` `v0.34.0`). | @@ -797,7 +797,7 @@ Important `qmake` options. | ----------------------------------- | ------- | ----------- | | `ccache` | `OFF` | Enable compiler cache. [Homepage](https://ccache.dev/)
It works only on the Unix systems. It works well with the `g++` and `clang++` and also supports precompiled headers. | | `precompile_header` | `-` | Enable precompiled headers, you can disable them with:
`CONFIG-=precompile_header`.
The `precompile_header` is enabled by default on `msvc`, `g++`, `clang++`, `clang-cl` on `Windows` and disabled by default on `linux`. | -| `static`
`staticlib` | `OFF` | Build as a `static` library (lib only).
If you want to build all libraries in the `TinyORM` project as static library archives and link against static libraries use the `CONFIG += static`. Don't use the `CONFIG += staticlib`.
See [NOTES.txt](https://github.com/silverqx/TinyORM/blob/main/NOTES.txt) for more information (search `static vs staticlib`).
| +| `static`
`staticlib` | `OFF` | Build as a `static` library (lib only).
If you want to build all libraries in the `TinyORM` project as static library archives and link against static libraries use the [`CONFIG += static`](https://doc.qt.io/qt/qmake-variable-reference.html#config). Don't use the `CONFIG += staticlib`.
See [NOTES.txt](https://github.com/silverqx/TinyORM/blob/main/NOTES.txt) for more information (search `static vs staticlib`).
| | `static_runtime` | `OFF` | Link against the `shared` (dynamic) or `static` run-time library.
The `-MD` becomes `-MT` and `-MDd` becomes `-MTd`. It works only on `MSVC` and `MinGW` or `MSYS2`.
Please don't use this option.
Available when: `msvc` or `mingw`
| diff --git a/docs/tinydrivers/getting-started.mdx b/docs/tinydrivers/getting-started.mdx index 735ae9ba1..f5101aa89 100644 --- a/docs/tinydrivers/getting-started.mdx +++ b/docs/tinydrivers/getting-started.mdx @@ -100,7 +100,7 @@ To control shared and static build use [`BUILD_SHARED_LIBS`](https://cmake.org/c See [qmake build options](building/tinyorm.mdx#qmake-build-options), related `qmake` configuration options are:
[`build_loadable_drivers`](building/tinyorm.mdx#build_loadable_drivers), [`build_mysql_driver`](building/tinyorm.mdx#build_mysql_driver), [`build_shared_drivers`](building/tinyorm.mdx#build_shared_drivers), and [`build_static_drivers`](building/tinyorm.mdx#build_static_drivers) -To control shared and static build use [`staticlib`](https://doc.qt.io/qt/qmake-variable-reference.html#config) `qmake` configuration option. +To control shared and static build use [`static`](building/tinyorm.mdx#static) `qmake` [configuration option](https://doc.qt.io/qt/qmake-variable-reference.html#config). ### Performance