Commit e1cc67b6 authored by Julian Helfferich's avatar Julian Helfferich 💬
Browse files

Put config files in subdirectory of src

It is standard procedure to put the configuration files alongside the
source files. I find it the cleanest solution to put them in a dedicated
subdirectory, such as config/ (as done for Konsole and Yakuake, for
example).
parent 1488b583
Pipeline #47935 passed with stage
in 3 minutes and 50 seconds
......@@ -80,7 +80,7 @@ install(TARGETS kblocks ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install(PROGRAMS org.kde.kblocks.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.kblocks.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES kblocks.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES src/config/kblocks.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES kblocksui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kblocks)
install(FILES kblocks.knsrc DESTINATION ${KDE_INSTALL_DATADIR}/knsrcfiles)
......
include_directories(APPEND "${CMAKE_CURRENT_BINARY_DIR}/..")
#include_directories(APPEND "${CMAKE_CURRENT_BINARY_DIR}/..")
set(kblocks_SRCS
AI/KBlocksAIEvaluation.cpp
......@@ -48,7 +48,7 @@ ecm_qt_declare_logging_category(kblocks_SRCS HEADER kblocks_sound_debug.h IDENTI
ecm_qt_declare_logging_category(kblocks_SRCS HEADER kblocks_replay_debug.h IDENTIFIER KBReplay CATEGORY_NAME KBlocks.Replay DESCRIPTION "kdegames (kblock replay)" EXPORT KBLOCKS)
ecm_qt_declare_logging_category(kblocks_SRCS HEADER kblocks_graphics_debug.h IDENTIFIER KBGraphics CATEGORY_NAME KBlocks.Graphics DESCRIPTION "kdegames (kblock graphics)" EXPORT KBLOCKS)
kconfig_add_kcfg_files(kblocks_SRCS ../settings.kcfgc )
kconfig_add_kcfg_files(kblocks_SRCS config/settings.kcfgc )
add_library(KBlocksCore STATIC ${kblocks_SRCS})
target_link_libraries(KBlocksCore
......
Markdown is supported
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