While ORM can be disabled, Orm::Utils has been split into Orm::Utils
and Orm::Tiny::Utils (Orm::Tiny::TinyUtils alias).
So when ORM is disabled then utils used only in the ORM will be
excluded from a final build.
- bugfix cmake undefined ORM option in TinySources
Overrides default detection logic for thread_local and disable it
forcefully.
In qmake can be configured by "CONFIG+=disable_thread_local".
For Cmake DISABLE_THREAD_LOCAL option was added.
- 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
Synchronize changes made to the Windows RC and manifest files related
code for qmake.
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.
Discarded configuration of the version header file by version.hpp.in,
instead the project version is obtained from version.hpp file.
- bugfix removed unused parameters in tiny_resource_and_manifest()
- cmake appended version to TinyUtils
- bugfix debug file flag in Windows RC files
- added Windows RC and manifest files for TinyUtils library
- build checkFileVersion_*() tests only on MSVC and when shared library
build is on
Discarded configuration of the version header file by version.hpp.in,
instead the project version is obtained from version.hpp file.
- unified function return values, used out_ variables
- unified cmake_parse_arguments() calls, used PARSE_ARGV everywhere
- made TINYORM_MYSQL_PING private
- added CMAKE_MODULE_PATH to the package config if MYSQL_PING enabled
- changed paths to build folders, separate folders for cmake/qmake
- refactored target_optional_compile_definitions()
- bugfix tiny_init_cmake_variables()
- moved TinyOrmTargets.cmake for build tree to the parent folder
- disabled 4702 warning for msvc
- whitespaces in cmake files if ( vs if(