Commit Graph

21 Commits

Author SHA1 Message Date
silverqx
9206b1ac70 updated copyright up year to 2024
[skip ci]
2024-04-28 13:31:16 +02:00
silverqx
43de3a2e58 vcpkg, cmake and RC file updated description 2023-09-10 12:06:42 +02:00
silverqx
cf0d9ea1c6 updated years in copyright
- also updated unit test
2023-09-10 12:06:41 +02:00
silverqx
5bc038e80a updated Copyright to Silver Zachara 2023-08-19 14:05:01 +02:00
silverqx
a64e727d6a qmake clang-cl 15 MSVC and manifest
Executables/dll didn't execute on Clang-cl 15 with MSVC.
2022-09-22 13:30:20 +02:00
silverqx
1cf67bc49d updated comment
[skip ci]
2022-05-26 09:51:51 +02:00
silverqx
b781b78e35 bugfix © in RC file for msvc Qt6 🤬 2022-05-25 11:47:53 +02:00
silverqx
2f455f7f4a fixed RC files encoding on Windows 🙌🎆
Use utf8 on MinGW and ANSI with msvc.

The core of the problem is in the $$cat() and write_file() qmake
functions they don't know process UTF-8 encoded files, they use
the ANSI encoding.
2022-05-05 10:31:29 +02:00
silverqx
b3105e0135 fixed RC file encoding problem (workaround) 2022-05-04 18:52:00 +02:00
silverqx
8009477685 bugfix rc file encoding
pragma code_page(65001) started making problems on windows msvc, don't
know why, temporary disabling, it works ok without it.
2022-03-27 15:32:24 +02:00
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