Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Accessibility
Kontrast
Commits
741c7ae9
Unverified
Commit
741c7ae9
authored
Sep 11, 2022
by
Carl Schwan
🚴
Browse files
Add doc to cmake
Signed-off-by:
Carl Schwan
<
carl@carlschwan.eu
>
parent
3f28c12e
Pipeline
#230364
failed with stage
in 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
741c7ae9
# SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
# SPDX-License-Identifier: BSD-2-Clause
cmake_minimum_required
(
VERSION 3.8
)
# KDE Application Version, managed by release script
...
...
@@ -35,8 +38,8 @@ ecm_setup_version(${PROJECT_VERSION}
)
################# Find dependencies #################
find_package
(
Qt
${
QT_MAJOR_VERSION
}
${
QT_MIN_VERSION
}
REQUIRED COMPONENTS Core Gui Qml QuickControls2 Svg Sql
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS Kirigami2 I18n CoreAddons
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
${
QT_MIN_VERSION
}
REQUIRED COMPONENTS Core Gui Qml QuickControls2 Svg Sql
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS Kirigami2 I18n CoreAddons
DocTools
)
if
(
NOT ANDROID
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
${
QT_MIN_VERSION
}
REQUIRED COMPONENTS DBus Widgets
)
...
...
@@ -49,6 +52,7 @@ add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00
)
add_subdirectory
(
src
)
add_subdirectory
(
doc
)
install
(
PROGRAMS org.kde.kontrast.desktop DESTINATION
${
KDE_INSTALL_APPDIR
}
)
install
(
FILES org.kde.kontrast.appdata.xml DESTINATION
${
KDE_INSTALL_METAINFODIR
}
)
...
...
doc/CMakeLists.txt
0 → 100644
View file @
741c7ae9
# SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
# SPDX-License-Identifier: BSD-2-Clause
kdoctools_create_handbook
(
index.docbook INSTALL_DESTINATION
${
KDE_INSTALL_DOCBUNDLEDIR
}
/en SUBDIR kontrast
)
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment