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
Games
KMuddy
Commits
ff9053da
Commit
ff9053da
authored
Oct 04, 2022
by
Friedrich W. H. Kossebau
Browse files
Use non-deprecated KDEInstallDirs variables
GIT_SILENT
parent
1ee310ad
Changes
12
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ff9053da
...
...
@@ -2,7 +2,7 @@ project(kmuddy)
cmake_minimum_required
(
VERSION 2.8.12
)
find_package
(
ECM
0.0.1
0 REQUIRED CONFIG
)
find_package
(
ECM
1.6.
0 REQUIRED CONFIG
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_SOURCE_DIR
}
${
ECM_MODULE_PATH
}
)
include
(
KDEInstallDirs
)
...
...
@@ -42,7 +42,7 @@ add_subdirectory( scripting )
########### install files ###############
install
(
FILES muds.xml DESTINATION
${
DATA
_INSTALL_DIR
}
/kmuddy
)
install
(
FILES muds.xml DESTINATION
${
KDE
_INSTALL_
DATA
DIR
}
/kmuddy
)
ki18n_install
(
po
)
kmuddy/CMakeLists.txt
View file @
ff9053da
...
...
@@ -57,21 +57,21 @@ endif (MXP_FOUND)
target_link_libraries
(
kmuddy
${
KMUDDY_LIBRARIES
}
)
install
(
TARGETS kmuddy DESTINATION
${
BIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddy DESTINATION
${
KDE
_INSTALL_
BIN
DIR
}
)
# install the icons
ecm_install_icons
(
ICONS
16-apps-kmuddy.png
32-apps-kmuddy.png
DESTINATION
${
ICON
_INSTALL_DIR
}
DESTINATION
${
KDE
_INSTALL_
ICON
DIR
}
THEME hicolor
)
ecm_install_icons
(
ICONS
16-apps-kmuddy.png
32-apps-kmuddy.png
DESTINATION
${
ICON
_INSTALL_DIR
}
DESTINATION
${
KDE
_INSTALL_
ICON
DIR
}
THEME locolor
)
install
(
FILES org.kde.kmuddy.desktop DESTINATION
${
XDG_APPS
_INSTALL_DIR
}
)
install
(
FILES org.kde.kmuddy.desktop DESTINATION
${
KDE
_INSTALL_
APP
DIR
}
)
libs/CMakeLists.txt
View file @
ff9053da
...
...
@@ -59,12 +59,12 @@ add_library(kmuddycore SHARED ${kmuddycore_LIB_SRCS})
target_link_libraries
(
kmuddycore KF5::KCMUtils KF5::I18n KF5::Service KF5::KDELibs4Support Qt5::Script Qt5::Multimedia
)
set_target_properties
(
kmuddycore PROPERTIES VERSION 2.0.0 SOVERSION 2
)
install
(
TARGETS kmuddycore DESTINATION
${
LIB
_INSTALL_DIR
}
)
install
(
TARGETS kmuddycore DESTINATION
${
KDE
_INSTALL_
LIB
DIR
}
)
########### install files ###############
install
(
FILES kmuddyplugin.desktop DESTINATION
${
SERVICETYPES
_INSTALL_
DIR
}
)
install
(
FILES cplugin.h arith-exp.h cactionbase.h cactionmanager.h calias.h caliaslist.h cansiparser.h ccmdparser.h ccmdprocessor.h ccmdqueue.h cconsole.h cdownloader.h cexpresolver.h cinputline.h cmacromanager.h cmsp.h coutput.h cprompt.h csoundplayer.h cstatus.h ctextchunk.h cvalue.h cvariable.h cvariablelist.h cmenumanager.h cdialoglist.h cglobalsettings.h clistobject.h clist.h cpattern.h clistgroup.h clistmanager.h clistviewer.h clisteditor.h clistgroupeditor.h cprofilesettings.h cprofilemanager.h ctabwidget.h DESTINATION
${
INCLU
DE_INSTALL_DIR
}
/kmuddy
)
install
(
FILES kmuddyplugin.desktop DESTINATION
${
KDE_INSTALL_K
SERVICETYPES
5
DIR
}
)
install
(
FILES cplugin.h arith-exp.h cactionbase.h cactionmanager.h calias.h caliaslist.h cansiparser.h ccmdparser.h ccmdprocessor.h ccmdqueue.h cconsole.h cdownloader.h cexpresolver.h cinputline.h cmacromanager.h cmsp.h coutput.h cprompt.h csoundplayer.h cstatus.h ctextchunk.h cvalue.h cvariable.h cvariablelist.h cmenumanager.h cdialoglist.h cglobalsettings.h clistobject.h clist.h cpattern.h clistgroup.h clistmanager.h clistviewer.h clisteditor.h clistgroupeditor.h cprofilesettings.h cprofilemanager.h ctabwidget.h DESTINATION
${
K
DE_INSTALL_
INCLUDE
DIR
}
/kmuddy
)
plugins/converter/CMakeLists.txt
View file @
ff9053da
...
...
@@ -29,10 +29,10 @@ add_library(kmuddyconverterplugin MODULE ${kmuddyconverterplugin_PART_SRCS})
target_link_libraries
(
kmuddyconverterplugin KF5::KDELibs4Support KF5::Parts kmuddycore
)
install
(
TARGETS kmuddyconverterplugin DESTINATION
${
PLUGIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddyconverterplugin DESTINATION
${
KDE
_INSTALL_
PLUGIN
DIR
}
)
########### install files ###############
install
(
FILES kmuddyconverterplugin.desktop DESTINATION
${
SERVICES
_INSTALL_DIR
}
)
install
(
FILES kmuddyconverterplugin.desktop DESTINATION
${
KDE
_INSTALL_
KSERVICES5
DIR
}
)
plugins/mapper/CMakeLists.txt
View file @
ff9053da
...
...
@@ -72,14 +72,14 @@ add_library(kmuddymapper MODULE ${kmuddymapper_PART_SRCS})
target_link_libraries
(
kmuddymapper KF5::KDELibs4Support KF5::Parts KF5::WidgetsAddons KF5::Service KF5::Archive kmuddycore
)
install
(
TARGETS kmuddymapper DESTINATION
${
PLUGIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddymapper DESTINATION
${
KDE
_INSTALL_
PLUGIN
DIR
}
)
########### install files ###############
install
(
FILES kmuddymapper.desktop DESTINATION
${
SERVICES
_INSTALL_DIR
}
)
install
(
FILES kmuddymapperpart.rc DESTINATION
${
DATA
_INSTALL_DIR
}
/kmuddy
)
install
(
FILES kmuddymapperplugin.desktop DESTINATION
${
SERVICETYPES
_INSTALL_
DIR
}
)
install
(
FILES kmud_grid.png kmud_create.png kmud_follow.png DESTINATION
${
DATA
_INSTALL_DIR
}
/kmuddy/toolbar
)
install
(
FILES plugins/standard/tools/kmud_select.png plugins/standard/tools/kmud_room.png plugins/standard/tools/kmud_text.png plugins/standard/tools/kmud_path.png plugins/standard/tools/kmud_eraser.png DESTINATION
${
DATA
_INSTALL_DIR
}
/kmuddy/toolbar
)
install
(
FILES kmuddymapper.desktop DESTINATION
${
KDE
_INSTALL_
KSERVICES5
DIR
}
)
install
(
FILES kmuddymapperpart.rc DESTINATION
${
KDE
_INSTALL_
DATA
DIR
}
/kmuddy
)
install
(
FILES kmuddymapperplugin.desktop DESTINATION
${
KDE_INSTALL_K
SERVICETYPES
5
DIR
}
)
install
(
FILES kmud_grid.png kmud_create.png kmud_follow.png DESTINATION
${
KDE
_INSTALL_
DATA
DIR
}
/kmuddy/toolbar
)
install
(
FILES plugins/standard/tools/kmud_select.png plugins/standard/tools/kmud_room.png plugins/standard/tools/kmud_text.png plugins/standard/tools/kmud_path.png plugins/standard/tools/kmud_eraser.png DESTINATION
${
KDE
_INSTALL_
DATA
DIR
}
/kmuddy/toolbar
)
plugins/scripting/CMakeLists.txt
View file @
ff9053da
...
...
@@ -20,12 +20,12 @@ add_library(kmuddyscriptingplugin MODULE ${kmuddyscriptingplugin_PART_SRCS})
target_link_libraries
(
kmuddyscriptingplugin KF5::KDELibs4Support KF5::Parts kmuddycore
)
install
(
TARGETS kmuddyscriptingplugin DESTINATION
${
PLUGIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddyscriptingplugin DESTINATION
${
KDE
_INSTALL_
PLUGIN
DIR
}
)
########### install files ###############
install
(
FILES kmuddyscriptingplugin.desktop DESTINATION
${
SERVICES
_INSTALL_DIR
}
)
install
(
FILES kmuddyscriptingplugin.desktop DESTINATION
${
KDE
_INSTALL_
KSERVICES5
DIR
}
)
plugins/strings/CMakeLists.txt
View file @
ff9053da
...
...
@@ -10,11 +10,11 @@ add_library(kmuddystringsplugin MODULE ${kmuddystringsplugin_PART_SRCS})
target_link_libraries
(
kmuddystringsplugin KF5::KDELibs4Support KF5::Parts kmuddycore
)
install
(
TARGETS kmuddystringsplugin DESTINATION
${
PLUGIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddystringsplugin DESTINATION
${
KDE
_INSTALL_
PLUGIN
DIR
}
)
########### install files ###############
install
(
FILES kmuddystringsplugin.desktop DESTINATION
${
SERVICES
_INSTALL_DIR
}
)
install
(
FILES kmuddystringsplugin.desktop DESTINATION
${
KDE
_INSTALL_
KSERVICES5
DIR
}
)
plugins/test/CMakeLists.txt
View file @
ff9053da
...
...
@@ -9,10 +9,10 @@ add_library(kmuddytestplugin MODULE ${kmuddytestplugin_PART_SRCS})
target_link_libraries
(
kmuddytestplugin KF5::KDELibs4Support KF5::Parts kmuddycore
)
install
(
TARGETS kmuddytestplugin DESTINATION
${
PLUGIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddytestplugin DESTINATION
${
KDE
_INSTALL_
PLUGIN
DIR
}
)
########### install files ###############
install
(
FILES kmuddytestplugin.desktop DESTINATION
${
SERVICES
_INSTALL_DIR
}
)
install
(
FILES kmuddytestplugin.desktop DESTINATION
${
KDE
_INSTALL_
KSERVICES5
DIR
}
)
plugins/vartrigs/CMakeLists.txt
View file @
ff9053da
...
...
@@ -15,12 +15,12 @@ add_library(kmuddyvartrigplugin MODULE ${kmuddyvartrigplugin_PART_SRCS})
target_link_libraries
(
kmuddyvartrigplugin KF5::KDELibs4Support KF5::Parts kmuddycore
)
install
(
TARGETS kmuddyvartrigplugin DESTINATION
${
PLUGIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddyvartrigplugin DESTINATION
${
KDE
_INSTALL_
PLUGIN
DIR
}
)
########### install files ###############
install
(
FILES kmuddyvartrigplugin.desktop DESTINATION
${
SERVICES
_INSTALL_DIR
}
)
install
(
FILES kmuddyvartrigplugin.desktop DESTINATION
${
KDE
_INSTALL_
KSERVICES5
DIR
}
)
plugins/varviewer/CMakeLists.txt
View file @
ff9053da
...
...
@@ -13,11 +13,11 @@ add_library(kmuddyvarviewerplugin MODULE ${kmuddyvarviewerplugin_PART_SRCS})
target_link_libraries
(
kmuddyvarviewerplugin KF5::KDELibs4Support KF5::Parts kmuddycore
)
install
(
TARGETS kmuddyvarviewerplugin DESTINATION
${
PLUGIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddyvarviewerplugin DESTINATION
${
KDE
_INSTALL_
PLUGIN
DIR
}
)
########### install files ###############
install
(
FILES kmuddyvarviewerplugin.desktop DESTINATION
${
SERVICES
_INSTALL_DIR
}
)
install
(
FILES kmuddyvarviewerplugin.desktop DESTINATION
${
KDE
_INSTALL_
KSERVICES5
DIR
}
)
scripting/CMakeLists.txt
View file @
ff9053da
...
...
@@ -3,7 +3,7 @@
########### install files ###############
install
(
FILES kmuddy-usock-client.pl kmuddy-usock-test.pl kmuddyvars.h locktest.c pre.c README testserver.cpp tmpserver.pl vartest.c DESTINATION
${
DATA
_INSTALL_DIR
}
/kmuddy
)
install
(
FILES kmuddy-usock-client.pl kmuddy-usock-test.pl kmuddyvars.h locktest.c pre.c README testserver.cpp tmpserver.pl vartest.c DESTINATION
${
KDE
_INSTALL_
DATA
DIR
}
/kmuddy
)
...
...
template/CMakeLists.txt
View file @
ff9053da
...
...
@@ -10,12 +10,12 @@ add_library(kmuddyplugintemplate MODULE ${kmuddyplugintemplate_PART_SRCS})
target_link_libraries
(
kmuddyplugintemplate KF5::KDELibs4Support KF5::Parts kmuddycore
)
install
(
TARGETS kmuddyplugintemplate DESTINATION
${
PLUGIN
_INSTALL_DIR
}
)
install
(
TARGETS kmuddyplugintemplate DESTINATION
${
KDE
_INSTALL_
PLUGIN
DIR
}
)
########### install files ###############
install
(
FILES kmuddyplugintemplate.desktop DESTINATION
${
SERVICES
_INSTALL_DIR
}
)
install
(
FILES kmuddyplugintemplate.desktop DESTINATION
${
KDE
_INSTALL_
KSERVICES5
DIR
}
)
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