share/hedgewars/Data/misc/CMakeLists.txt
author unC0Rr
Fri, 19 Apr 2024 17:44:55 +0200
changeset 16039 a73b9770467a
parent 15330 9583c3371371
permissions -rw-r--r--
Port QML frontend to Qt6, use rendering to framebuffer object
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7811
49ab679cb384 hgignore and skip one config file for win32
koda
parents: 4083
diff changeset
     1
49ab679cb384 hgignore and skip one config file for win32
koda
parents: 4083
diff changeset
     2
if(UNIX AND NOT APPLE)
8316
89232b2fa1d6 cmake rework, cleanup a lot of redundant sections, separate library and binary install location, unify osx and win handling of the data directory (tested on win, lin and mac)
koda
parents: 7811
diff changeset
     3
    configure_file(hwengine.desktop.in hwengine.desktop)
89232b2fa1d6 cmake rework, cleanup a lot of redundant sections, separate library and binary install location, unify osx and win handling of the data directory (tested on win, lin and mac)
koda
parents: 7811
diff changeset
     4
14865
9e8c201eae9d Move Hedgewars key IDs to CSV file
Wuzzy <Wuzzy2@mail.ru>
parents: 13302
diff changeset
     5
    file(GLOB miscfiles *.svg *.xml *.desktop *.csv)
8316
89232b2fa1d6 cmake rework, cleanup a lot of redundant sections, separate library and binary install location, unify osx and win handling of the data directory (tested on win, lin and mac)
koda
parents: 7811
diff changeset
     6
10459
02e010b64a28 Fixed desktop file By adding an xpm icon
Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
parents: 8649
diff changeset
     7
    install(FILES hedgewars.xpm DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
12442
7af69ebc0c9c bug #238 install the .desktop file too
Worldblender
parents: 10459
diff changeset
     8
    install(FILES hedgewars.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
15330
9583c3371371 make sure keys.csv is installed
alfadur
parents: 14865
diff changeset
     9
else()
9583c3371371 make sure keys.csv is installed
alfadur
parents: 14865
diff changeset
    10
    file(GLOB miscfiles *.csv)
7811
49ab679cb384 hgignore and skip one config file for win32
koda
parents: 4083
diff changeset
    11
endif()
4083
830d1f4eb517 Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request.
nemo
parents:
diff changeset
    12
15330
9583c3371371 make sure keys.csv is installed
alfadur
parents: 14865
diff changeset
    13
install(FILES ${miscfiles} DESTINATION ${SHAREPATH}/Data/misc)
9583c3371371 make sure keys.csv is installed
alfadur
parents: 14865
diff changeset
    14