Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Artikulate
Commits
78f1bbbe
Commit
78f1bbbe
authored
Sep 10, 2021
by
Anthony Rabbito
💬
Committed by
Albert Astals Cid
Sep 10, 2021
Browse files
Use KDE Gear version to make version auto-incrementable on each release
parent
8c87655e
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
78f1bbbe
# SPDX-FileCopyrightText: 2013-2016 Andreas Cord-Landwehr <cordlandwehr@kde.org>
# SPDX-License-Identifier: BSD-2-Clause
project
(
artikulate
)
cmake_minimum_required
(
VERSION 3.5.0
)
set
(
QT_MIN_VERSION
"5.11.0"
)
set
(
KF5_MIN_VERSION
"5.64.0"
)
# KDE Application Version, managed by release script
set
(
RELEASE_SERVICE_VERSION_MAJOR
"21"
)
set
(
RELEASE_SERVICE_VERSION_MINOR
"11"
)
set
(
RELEASE_SERVICE_VERSION_MICRO
"70"
)
set
(
RELEASE_SERVICE_COMPACT_VERSION
"
${
RELEASE_SERVICE_VERSION_MAJOR
}${
RELEASE_SERVICE_VERSION_MINOR
}${
RELEASE_SERVICE_VERSION_MICRO
}
"
)
set
(
ARTIKULATE_VERSION
"1.0.0.
${
RELEASE_SERVICE_COMPACT_VERSION
}
"
)
project
(
artikulate VERSION
${
ARTIKULATE_VERSION
}
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
find_package
(
KF5DocTools
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
)
...
...
src/CMakeLists.txt
View file @
78f1bbbe
# SPDX-FileCopyrightText: 2013-2019 Andreas Cord-Landwehr <cordlandwehr@kde.org>
# SPDX-License-Identifier: BSD-2-Clause
ecm_setup_version
(
1.0.0
ecm_setup_version
(
${
ARTIKULATE_VERSION
}
VARIABLE_PREFIX ARTIKULATE
VERSION_HEADER
"
${
CMAKE_CURRENT_BINARY_DIR
}
/version.h"
PACKAGE_VERSION_FILE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/ArtikulateConfigVersion.cmake"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment