cmake : update semver handling to be consistent with ggml/llama.cpp

This commit modifies the semantic version handling to be consistent with
how llama.cpp and ggml handle semver.

This commit introdues a new example named test-cmake which is intended
to be used to test the cmake configuration and installation.
This commit is contained in:
Daniel Bevenius
2026-08-18 15:34:48 +02:00
parent 4834a2327d
commit b6e63fa4ac
14 changed files with 143 additions and 26 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "whisper.cpp",
"version": "@PROJECT_VERSION@",
"version": "@WHISPER_VERSION@",
"description": "Whisper speech recognition",
"main": "whisper.js",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "whisper.cpp",
"version": "1.9.2",
"version": "1.9.2-dev",
"description": "Whisper speech recognition",
"main": "whisper.js",
"scripts": {