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
Plasma
Plasma Add-ons
Commits
cdd79e40
Commit
cdd79e40
authored
Jan 25, 2021
by
Alexander Lohnau
💬
Browse files
Rename library target to match plugin id
parent
b9b961b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
runners/converter/CMakeLists.txt
View file @
cdd79e40
add_definitions
(
-DTRANSLATION_DOMAIN=\"plasma_runner_converterrunner\"
)
add_library
(
krunner_
converter MODULE converterrunner.cpp
)
kcoreaddons_desktop_to_json
(
krunner_
converter plasma-runner-converter.desktop
)
target_link_libraries
(
krunner_
converter
add_library
(
unit
converter MODULE converterrunner.cpp
)
kcoreaddons_desktop_to_json
(
unit
converter plasma-runner-converter.desktop
)
target_link_libraries
(
unit
converter
KF5::I18n
KF5::Runner
KF5::UnitConversion
Qt::Widgets
)
install
(
TARGETS
krunner_
converter DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kf5/krunner
)
install
(
TARGETS
unit
converter DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kf5/krunner
)
if
(
BUILD_TESTING
)
add_subdirectory
(
autotests
)
...
...
runners/converter/autotests/converterrunnertest.cpp
View file @
cdd79e40
...
...
@@ -4,9 +4,6 @@
* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#undef KRUNNER_TEST_RUNNER_PLUGIN_NAME
#define KRUNNER_TEST_RUNNER_PLUGIN_NAME "unitconverter"
#include <KRunner/AbstractRunnerTest>
#include <KUnitConversion/Converter>
#include <KUnitConversion/UnitCategory>
...
...
Alexander Lohnau
💬
@alex
mentioned in commit
abf7023a
·
Feb 13, 2021
mentioned in commit
abf7023a
mentioned in commit abf7023a2d34610235665cfd1f57675960265287
Toggle commit list
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