bumped old forgotten TinyORM version numbers

Updated docs, tools, and NOTES.txt.
This commit is contained in:
silverqx
2023-10-08 14:31:37 +02:00
parent 4e30a29d98
commit 2f4099dfae
5 changed files with 17 additions and 10 deletions

View File

@@ -9,10 +9,10 @@ bump version to TinyORM v0.35.0 and tom v0.6.1
- don't forget to update a version number in the silverqx/TinyORM-HelloWorld find_package() call
- TinyORM:
7 files must be modified, README.md, docs/README.mdx, two vcpkg.json files, NOTES.txt,
hello-world.mdx, plus bumped version.hpp files
9 files must be modified, README.md, docs/README.mdx, two vcpkg.json files, NOTES.txt,
hello-world.mdx, migrations.mdx, tinyorm.mdx plus bumped version.hpp file
- tom:
5 files must be modified, README.md, docs/README.mdx, NOTES.txt, plus bumped version.hpp files
5 files must be modified, README.md, docs/README.mdx, NOTES.txt, plus bumped version.hpp file
- increase in the following files
@@ -30,7 +30,12 @@ docs/README.md
cmake/vcpkg/ports/tinyorm/vcpkg.json
cmake/vcpkg/ports/tinyorm-qt5/vcpkg.json
- hello-world.mdx#fetchcontent
- verions in docs
hello-world.mdx#cmake-project
hello-world.mdx#fetchcontent
migrations.mdx#cmake-project
tinyorm.mdx#consume-tinyorm-library-cmake
How to updated vcpkg tinyorm and tinyorm-qt5 ports:

View File

@@ -230,7 +230,7 @@ add_executable(HelloWorld
)\n
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
find_package(TinyOrm 0.16.0 CONFIG REQUIRED)\n
find_package(TinyOrm 0.35.0 CONFIG REQUIRED)\n
target_link_libraries(HelloWorld
PRIVATE
Qt\${QT_VERSION_MAJOR}::Core
@@ -252,7 +252,7 @@ add_executable(HelloWorld
)\n
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
find_package(TinyOrm 0.16.0 CONFIG REQUIRED)\n
find_package(TinyOrm 0.35.0 CONFIG REQUIRED)\n
target_link_libraries(HelloWorld
PRIVATE
Qt\${QT_VERSION_MAJOR}::Core

View File

@@ -477,7 +477,7 @@ tiny_resource_and_manifest(\${Tom_target}
# ---\n
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
find_package(TinyOrm 0.16.0 CONFIG REQUIRED)\n
find_package(TinyOrm 0.35.0 CONFIG REQUIRED)\n
# Unconditional dependencies
target_link_libraries(\${Tom_target}
PRIVATE
@@ -561,7 +561,7 @@ tiny_resource_and_manifest(\${Tom_target}
# ---\n
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
find_package(Qt\${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
find_package(TinyOrm 0.16.0 CONFIG REQUIRED)\n
find_package(TinyOrm 0.35.0 CONFIG REQUIRED)\n
# Unconditional dependencies
target_link_libraries(\${Tom_target}
PRIVATE

View File

@@ -535,7 +535,7 @@ Important `CMake` options.
In your application or library `CMakeLists.txt` file add following `find_package()` call.
```cmake title='CMakeLists.txt'
find_package(TinyOrm 0.16.0 CONFIG REQUIRED)
find_package(TinyOrm 0.35.0 CONFIG REQUIRED)
```
If the `TinyORM` build tree is not exported to the CMake's [`User Package Registry`](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#user-package-registry) then also add the `TinyORM` build tree or `CMAKE_INSTALL_PREFIX` folder to the `CMAKE_PREFIX_PATH`, so CMake can find TinyORM's package configuration file during `find_package(TinyOrm)` call.

View File

@@ -86,7 +86,9 @@ function Initialize-ScriptVariables {
(Resolve-Path -Path ./NOTES.txt) = 1
(Resolve-Path -Path ./cmake/vcpkg/ports/tinyorm/vcpkg.json) = 1
(Resolve-Path -Path ./cmake/vcpkg/ports/tinyorm-qt5/vcpkg.json) = 1
(Resolve-Path -Path ./docs/building/hello-world.mdx) = 2
(Resolve-Path -Path ./docs/building/hello-world.mdx) = 4
(Resolve-Path -Path ./docs/building/migrations.mdx) = 2
(Resolve-Path -Path ./docs/building/tinyorm.mdx) = 1
}
[VersionType]::VersionWith_v = [ordered] @{
(Resolve-Path -Path ./NOTES.txt) = 1