enhanced TinyOrm.pri and tom.pri

They can now also set up include directories and link against
the TinyORM library. It's accomplished by the TINYORM_BUILD_TREE
variable.

 - also updated all examples in the documentation
 - manually tried to recompile all the examples on all supported
   platforms
 - enhanced tiny_version_numbers.prf, throw error when the version file
   was not found or when the parsing failed
 - used qmake/common.pri in the TinyOrm.pri and tom.pri,
   the consequences are that the user can use eg "CONFIG += disable_orm"
   and all others supported qmake configurations on his own project, so
   if the TinyORM was compiled with some set of flags then the same set
   of flags has to be used on the compiled project, CMake is doing this
   automatically of course
 - added Configure using .qmake.conf to the hello world example
This commit is contained in:
silverqx
2022-05-06 16:14:33 +02:00
parent cdbd7c296c
commit b09931b203
8 changed files with 163 additions and 198 deletions
-1
View File
@@ -1293,7 +1293,6 @@ TINYORM_END_COMMON_NAMESPACE
// CUR 0.1.0 vs 0.1.0.0 Product/FileVersion, investigate, also check versions in pc, prl, ... silverqx
// CUR enable QT_ASCII_CAST_WARNINGS silverqx
// CUR enable QT_NO_CAST_FROM_ASCII silverqx
// CUR autoconfigure qmake with qmake/TinyOrm.pri and TINY_ROOT_DIR and TINY_TINYORM_BUILDS_DIR silverqx
// BUG qmake MinGW UCRT64 clang static build duplicit symbols, this is MinGW bug silverqx
// BUG qmake MinGW UCRT64 clang shared build with inline_constants cause crashes of 50% of tests, this will be MinGW clang or clang bug, on unix it works without problems silverqx
// BUG cmake MinGW UCRT64 clang static build builds, but cause problem with inline_constants ; shared build with inline_constants cause crashes of 50% of tests, like bug above, this will be MinGW clang or clang bug, on unix it works without problems silverqx