Warning, /games/skladnik/themes/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2022 Friedrich W. H. Kossebau <kossebau@kde.org>
0002 #
0003 # SPDX-License-Identifier: BSD-3-Clause
0004 
0005 install( FILES
0006     skladnik_classic.svg
0007     skladnik_classic.desktop
0008     #skladnik_classic_preview.png
0009     DESTINATION  ${KDE_INSTALL_DATADIR}/skladnik/themes
0010 )
0011 
0012 function(install_classic_sprite_image)
0013     cmake_parse_arguments(ARGS "" "SOURCE_DIR;NAMESPACE" "IMAGES" ${ARGN})
0014 
0015     foreach(image ${ARGS_IMAGES})
0016         install(FILES "${ARGS_SOURCE_DIR}/${image}"
0017             RENAME "${ARGS_NAMESPACE}${image}"
0018             DESTINATION  ${KDE_INSTALL_DATADIR}/skladnik/themes
0019         )
0020     endforeach()
0021 endfunction()
0022 
0023 install_classic_sprite_image(
0024     NAMESPACE "skladnik_classic_"
0025     SOURCE_DIR "${CMAKE_SOURCE_DIR}/src/images"
0026     IMAGES
0027         goal.png
0028         man.png
0029         object.png
0030         saveman.png
0031         treasure.png
0032         halfstone_1.png
0033         halfstone_2.png
0034         halfstone_3.png
0035         halfstone_4.png
0036         stone_1.png
0037         stone_2.png
0038         stone_3.png
0039         stone_4.png
0040         stone_5.png
0041         stone_6.png
0042         starfield.png
0043 )