- removed all occurrences of QT_NO_DEBUG_OUTPUT, it is up to user
- TINYORM_DEBUG_SQL is enabled in debug builds and TINYORM_NO_DEBUG_SQL
in release builds, user still can override debug build with
TINYORM_NO_DEBUG_SQL
- enhanced debug output in DatabaseConnection class
- added driverNamePrintable(), databaseName(), hostName() to
DB/DatabaseManager/DatabaseConnection
- logquery added to NS and created library class for it
- added TINY_UNPARSED_ARGUMENTS checks for all cmake_parse_arguments()
- bugfix bad PARSE_ARGV index for cmake_parse_arguments()
- added unset() to macros
Enhanced qmake/cmake builds during testing of all Win32 build types.
- throw fatal error for unsupported build types
- cmake do not show INLINE_CONSTANTS option for MinGW clang shared
build because it causes crashes
For the static build is always used inline constants.
For the shared build is used extern constants by default and this
default can be overridden by a new cmake option INLINE_CONSTANTS.
- renamed project folder tests/utils to tests/TinyUtils
- bugfix missed INTERFACE TINYUTILS_LINKING_SHARED in TinyUtils target
- renamed export macro defines for TinyUtils from UTILS_ to TINYUTILS_
- renamed utils_global.hpp to export.hpp in TinyUtils
- added WINVER macro
- updated NTDDI_WINNT and similar macros
- removed TINYORM_LINKING_SHARED from TinyTestCommon.cmake, it is in
the INTERFACE from TinyOrm target
Added CONFIG option inline_constants/extern_constants, in shared library
build is used extern_constants option ( can be overridden by
inline_constants option ) and in static library build is used
inline_constants option ( can not be overridden, extern constants cause
crash ).
- refactored exports in TinyUtils
- bugfix on tst_version for static build
conf.pri user configuration files moved to the bottom of .pro/.pri
files, so an user can override everything.
- bugfix PCH in tests was not closed in the precompile_header check
Windows RC and manifest files are compiled and embedded only on Windows
and when a shared library is built.
Also removed TinyOrm_mingw.rc file, RC file for MinGW is injected
through the main TinyOrm.rc.in file, I had to do it this way because is
not possible to pass more RC files by qmake's RC_FILE variable, cmake
can do this without problems.
- bugfix FILEFLAGS, FILEFLAGSMASK for debug configuration was not set