Commit 2c1a93a7 authored by Igor Kushnir's avatar Igor Kushnir
Browse files

Set KDEV_PLUGIN_VERSION to KDEVELOP_SOVERSION

5d3cdf9f bumped KDevelop_VERSION_MINOR
to 10, which increased KDEVELOP_SOVERSION from 59 to 510 and
KDEV_PLUGIN_VERSION from 30+59-52=37 to 30+510-52=488. A plugin version
jump to 510 is not much worse than to 488. The advantage is an obvious
correspondence between the two versions instead of an obscure and now
arbitrary relation between them.

Hopefully decreasing KDEVELOP_SOVERSION and KDEV_PLUGIN_VERSION to 60
when KDevelop 6.0 is released won't be a problem.
parent c77a0795
Pipeline #248332 passed with stage
in 13 minutes and 43 seconds
......@@ -36,9 +36,7 @@ if (APPLE)
endif()
# plugin version as used e.g. in plugin installation path
# started off as 30 when 5.2 was released, incremented along the SO version so far
# TODO: perhaps switch directly to KDEVELOP_SOVERSION?
math(EXPR KDEV_PLUGIN_VERSION "30 + ${KDEVELOP_SOVERSION} - 52")
set(KDEV_PLUGIN_VERSION "${KDEVELOP_SOVERSION}")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment