mirror of
https://github.com/silverqx/TinyORM.git
synced 2025-12-20 18:09:30 -06:00
bumped old forgotten TinyORM version numbers
Updated docs, tools, and NOTES.txt.
This commit is contained in:
13
NOTES.txt
13
NOTES.txt
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user