Commit 9bfc40e1 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Reorganize source files in src/ subdir

GIT_SILENT
parent e483765c
......@@ -62,40 +62,7 @@ endif()
add_subdirectory(pictures)
add_subdirectory(sounds)
add_subdirectory(doc)
ecm_setup_version(${KOLLISION_VERSION}
VARIABLE_PREFIX KOLLISION
VERSION_HEADER kollision_version.h
)
set(kollision_SRCS
animation.cpp
animator.cpp
ball.cpp
main.cpp
mainarea.cpp
mainwindow.cpp
message.cpp
)
qt5_add_resources(kollision_SRCS kollision.qrc)
kconfig_add_kcfg_files(kollision_SRCS kollisionconfig.kcfgc)
ki18n_wrap_ui(kollision_SRCS preferences.ui)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pictures/hi/*-apps-kollision.png")
ecm_add_app_icon(kollision_SRCS ICONS ${ICONS_SRCS})
add_executable(kollision ${kollision_SRCS})
target_link_libraries(kollision
KF5::Crash
KF5::DBusAddons
KF5::I18n
KF5::XmlGui
KF5KDEGames
)
install(TARGETS kollision ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kollision.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.kollision.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
add_subdirectory(src)
ki18n_install(po)
kdoctools_install(po)
......
ecm_setup_version(${KOLLISION_VERSION}
VARIABLE_PREFIX KOLLISION
VERSION_HEADER kollision_version.h
)
set(kollision_SRCS
animation.cpp
animator.cpp
ball.cpp
main.cpp
mainarea.cpp
mainwindow.cpp
message.cpp
)
qt5_add_resources(kollision_SRCS kollision.qrc)
kconfig_add_kcfg_files(kollision_SRCS kollisionconfig.kcfgc)
ki18n_wrap_ui(kollision_SRCS preferences.ui)
file(GLOB ICONS_SRCS "${CMAKE_SOURCE_DIR}/pictures/hi/*-apps-kollision.png")
ecm_add_app_icon(kollision_SRCS ICONS ${ICONS_SRCS})
add_executable(kollision ${kollision_SRCS})
target_link_libraries(kollision
KF5::Crash
KF5::DBusAddons
KF5::I18n
KF5::XmlGui
KF5KDEGames
)
install(TARGETS kollision ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kollision.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.kollision.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
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