This commit is contained in:
silverqx
2022-07-13 23:06:13 +02:00
parent 49657bc670
commit a887dd4780
2 changed files with 2 additions and 2 deletions

View File

@@ -586,7 +586,7 @@ Everything is ready for build, you can press <kbd>Ctrl</kbd>+<kbd>b</kbd> to bui
| `inline_constants` | `OFF` | Use inline constants instead of extern constants in the `shared build`.<br/>`OFF` is highly recommended for the `shared build`;<br/>is always `ON` for the `static build`.<br/><small>Available when: <code>CONFIG(shared\|dll)</code></small> |
| `link_pkgconfig_off` | `OFF` | Link against `libmariadb` with `PKGCONFIG`.<br/>Used only in the `MinGW` __shared__ build <small>(exactly <code>win32-g++\|win32-clang-g++</code>)</small> and when `mysql_ping` is also defined to link against `libmariadb`, [source code](https://github.com/silverqx/TinyORM/blob/main/conf.pri.example#L27).<br/><small>Available when: <code>(win32-g++\|win32-clang-g++):mysql:!static:!staticlib</code></small> |
| `mysql_ping` | `OFF` | Enable `Orm::MySqlConnection::pingDatabase()` method. |
| `tiny_ccache` | `ON` | Enable compiler cache. [Homepage](https://ccache.dev/)<br/><small>It works only on the Windows systems. It works well with the MSYS2 `g++`,`clang++`, `msvc`, and `clang-cl` with `msvc`. It disables `precompile_header` as they are not supported on Windows and changes the `-Zi` compiler option to the `-Z7` for debug builds as the `-Zi` compiler option is not supported ([link](https://github.com/ccache/ccache/issues/1040) to the issue).</small> |
| `tiny_ccache` | `ON` | Enable compiler cache. [Homepage](https://ccache.dev/)<br/><small>It works only on the Windows systems. It works well with the MSYS2 `g++`, `clang++`, `msvc`, and `clang-cl` with `msvc`. It disables `precompile_header` as they are not supported on Windows and changes the `-Zi` compiler option to the `-Z7` for debug builds as the `-Zi` compiler option is not supported ([link](https://github.com/ccache/ccache/issues/1040) to the issue).</small> |
| `tom_example` | `OFF` | Build the <abbr title='TinyORM Migrations'>`Tom`</abbr> command-line application example (console application). |
</APITable>

View File

@@ -5,7 +5,7 @@
QMAKE_CFLAGS ~= s/-Zi/-Z7
QMAKE_CXXFLAGS ~= s/-Zi/-Z7
# MSYS2 g++, clang++ work well with precompiled headers but the msvc doesn't
# MSYS2 g++, clang++ work well with the precompiled headers but the msvc doesn't
win32-msvc|win32-clang-msvc: \
CONFIG -= precompile_header