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

Rename source variables

Following Albert Astals Cid's advice and make them more idiomatical.
parent c9c95275
Pipeline #47941 passed with stage
in 3 minutes and 45 seconds
......@@ -63,14 +63,14 @@ endif()
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KBLOCKS VERSION_HEADER kblocks_version.h)
set(kblocks_main src/main.cpp)
set(kblocks_SRCS src/main.cpp)
file(GLOB ICONS_SRCS "*-apps-kblocks.png")
ecm_add_app_icon(kblocks_main ICONS ${ICONS_SRCS})
ecm_add_app_icon(kblocks_SRCS ICONS ${ICONS_SRCS})
add_subdirectory(src)
add_executable(kblocks ${kblocks_main})
add_executable(kblocks ${kblocks_SRCS})
target_link_libraries(kblocks
KBlocksCore
......
set(kblocks_SRCS
set(kblockscore_SRCS
AI/KBlocksAIEvaluation.cpp
AI/KBlocksAIFeature.cpp
AI/KBlocksAILog.cpp
......@@ -41,14 +41,14 @@ set(kblocks_SRCS
utils.cpp
)
ecm_qt_declare_logging_category(kblocks_SRCS HEADER kblocks_ai_debug.h IDENTIFIER KBlocksAI CATEGORY_NAME KBlocks.AI DESCRIPTION "kdegames (kblock ai)" EXPORT KBLOCKS)
ecm_qt_declare_logging_category(kblocks_SRCS HEADER kblocks_sound_debug.h IDENTIFIER KBSound CATEGORY_NAME KBlocks.Sound DESCRIPTION "kdegames (kblock sound)" EXPORT KBLOCKS)
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)
ecm_qt_declare_logging_category(kblockscore_SRCS HEADER kblocks_ai_debug.h IDENTIFIER KBlocksAI CATEGORY_NAME KBlocks.AI DESCRIPTION "kdegames (kblock ai)" EXPORT KBLOCKS)
ecm_qt_declare_logging_category(kblockscore_SRCS HEADER kblocks_sound_debug.h IDENTIFIER KBSound CATEGORY_NAME KBlocks.Sound DESCRIPTION "kdegames (kblock sound)" EXPORT KBLOCKS)
ecm_qt_declare_logging_category(kblockscore_SRCS HEADER kblocks_replay_debug.h IDENTIFIER KBReplay CATEGORY_NAME KBlocks.Replay DESCRIPTION "kdegames (kblock replay)" EXPORT KBLOCKS)
ecm_qt_declare_logging_category(kblockscore_SRCS HEADER kblocks_graphics_debug.h IDENTIFIER KBGraphics CATEGORY_NAME KBlocks.Graphics DESCRIPTION "kdegames (kblock graphics)" EXPORT KBLOCKS)
kconfig_add_kcfg_files(kblocks_SRCS config/settings.kcfgc )
kconfig_add_kcfg_files(kblockscore_SRCS config/settings.kcfgc )
add_library(KBlocksCore STATIC ${kblocks_SRCS})
add_library(KBlocksCore STATIC ${kblockscore_SRCS})
target_link_libraries(KBlocksCore
KF5KDEGames
KF5KDEGamesPrivate
......
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