Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Calamares
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
Calamares
Commits
6558cd51
Commit
6558cd51
authored
2 years ago
by
Adriaan de Groot
Browse files
Options
Downloads
Patches
Plain Diff
CMake: add .so-version
This is basically PR #2002, from Undef-a.
parent
c939fbce
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+5
-0
5 additions, 0 deletions
CMakeLists.txt
src/libcalamares/CMakeLists.txt
+1
-1
1 addition, 1 deletion
src/libcalamares/CMakeLists.txt
src/libcalamaresui/CMakeLists.txt
+1
-0
1 addition, 0 deletions
src/libcalamaresui/CMakeLists.txt
with
7 additions
and
1 deletion
CMakeLists.txt
+
5
−
0
View file @
6558cd51
...
...
@@ -65,6 +65,11 @@ project(CALAMARES VERSION ${CALAMARES_VERSION_SHORT} LANGUAGES C CXX HOMEPAGE_UR
if
(
NOT CALAMARES_RELEASE_MODE AND CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR
)
message
(
FATAL_ERROR
"Do not build development versions in the source-directory."
)
endif
()
# Calamares in the 3.3 series promises ABI compatbility, so it sets a
# .so-version equal to the series number. We use ci/abicheck.sh to
# keep track of this. Note that the **alpha** releases also have
# such an .so-version, but are not ABI-stable yet.
set
(
CALAMARES_SOVERSION
"
${
PROJECT_VERSION_MAJOR
}
.
${
PROJECT_VERSION_MINOR
}
"
)
### OPTIONS
#
...
...
This diff is collapsed.
Click to expand it.
src/libcalamares/CMakeLists.txt
+
1
−
1
View file @
6558cd51
...
...
@@ -97,7 +97,7 @@ set_target_properties(
calamares
PROPERTIES
VERSION
${
CALAMARES_VERSION_SHORT
}
SOVERSION
${
CALAMARES_VERSION
_SHORT
}
SOVERSION
${
CALAMARES_
SO
VERSION
}
INTERFACE_INCLUDE_DIRECTORIES
${
CMAKE_INSTALL_FULL_INCLUDEDIR
}
/libcalamares
)
target_link_libraries
(
calamares LINK_PUBLIC yamlcpp::yamlcpp Qt5::Core KF5::CoreAddons
)
...
...
This diff is collapsed.
Click to expand it.
src/libcalamaresui/CMakeLists.txt
+
1
−
0
View file @
6558cd51
...
...
@@ -53,6 +53,7 @@ calamares_add_library(calamaresui
UI
utils/ErrorDialog/ErrorDialog.ui
VERSION
${
CALAMARES_VERSION_SHORT
}
SOVERSION
${
CALAMARES_SOVERSION
}
)
target_link_libraries
(
calamaresui PRIVATE yamlcpp::yamlcpp
)
if
(
KF5CoreAddons_FOUND AND KF5CoreAddons_VERSION VERSION_GREATER_EQUAL 5.58
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment