Commit Graph

11 Commits

Author SHA1 Message Date
silverqx
3212fc4d1c added LibraryInfo class
This class provides info about build type, isDebugBuild() and version.

 - removed QT_DEBUG/QT_NO_DEBUG and used TINYORM_DEBUG/TINYORM_NO_DEBUG
   instead
2021-10-19 16:11:54 +02:00
silverqx
a595656804 qmake added Windows RC and manifest file for tests 2021-10-09 19:45:38 +02:00
silverqx
d5deaa6e37 qmake/cmake mingw manifest extension in RC file
Use genexp to obtain manifest extension in Windows RC file.
2021-10-04 11:37:06 +02:00
silverqx
e0f61b97fc qmake added Windows RC and manifest files
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
2021-10-02 12:52:06 +02:00
silverqx
fd38c383ee cmake obtain version info from version.hpp file
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
2021-09-29 20:13:26 +02:00
silverqx
4732d18df3 renamed macros in version.hpp.in 2021-09-26 16:58:26 +02:00
silverqx
ed50815c6f cmake enhanced generation of Windows RC file
Removed TINY_ORIGINAL_FILENAME from version.hpp.in, instead used
configure_file() by help with file(GENERATE ...) and $<TARGET_FILE_NAME>
to obtain original filename and process TinyOrm.rc.in file.

 - changed prefix for all macros to TINYORM_ in the version.hpp header
   file to minimize conflicts
 - removed tiny_init_target_version_ext(), so version number will be
   appended on WIN32 for shared libraries and also for static archives
 - used CMAKE_SYSTEM_NAME instead of WIN32
2021-09-25 18:15:54 +02:00
silverqx
6d5e6c6a9d bugfix OriginalFilename multi-config generators
Added support for OriginalFilename in Windows RC file for multi-config
generators.

 - changed InternalName in Windows RC file to TinyOrm (from tinyorm)
 - added TINY_VERSION_NUM to the version.hpp file
2021-09-24 15:07:59 +02:00
silverqx
894a1d7c3a added manifest file for cmake mingw 2021-09-18 08:59:06 +02:00
silverqx
52a9e56bbf added cmake build 😅💪 2021-08-31 09:02:14 +02:00
silverqx
45f59f2bac modified docs for Docusaurus 2
- added logo and favicon
2021-07-11 15:48:55 +02:00