share/hedgewars/Data/misc/CMakeLists.txt
author koda
Thu, 20 Dec 2012 23:12:18 +0100
changeset 8316 89232b2fa1d6
parent 7811 49ab679cb384
child 8647 c1bcdee46bff
permissions -rw-r--r--
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)
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
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
     5
    file(GLOB miscfiles *.xml *.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
     6
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
     7
    install(FILES ${miscfiles} DESTINATION ${SHAREPATH}/Data/misc)
7811
49ab679cb384 hgignore and skip one config file for win32
koda
parents: 4083
diff changeset
     8
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
     9