mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-24 02:13:02 -07:00
updates
This commit is contained in:
parent
fd82b140a8
commit
4ba06597f9
23 changed files with 57 additions and 14 deletions
|
|
@ -1,9 +1,12 @@
|
|||
# CMakeLists for cockatrice directory
|
||||
# CMakeLists for "cockatrice" directory
|
||||
#
|
||||
# provides the cockatrice binary
|
||||
# Provides the Cockatrice binary
|
||||
|
||||
project(Cockatrice VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
|
||||
|
||||
# ------------------------
|
||||
# Paths and directories
|
||||
# ------------------------
|
||||
set(cockatrice_SOURCES
|
||||
${VERSION_STRING_CPP}
|
||||
# sort by alphabetical order, so that there is no debate about where to add new sources to the list
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
# CMakeLists for themes directory
|
||||
# CMakeLists for ./cockatrice/themes directory
|
||||
#
|
||||
# add themes subfolders
|
||||
# Add themes subfolders
|
||||
|
||||
set(defthemes Default Fabric Fusion Leather Plasma VelvetMarble)
|
||||
|
||||
if(UNIX)
|
||||
if(APPLE)
|
||||
if(APPLE) # macOS
|
||||
install(DIRECTORY ${defthemes} DESTINATION Cockatrice.app/Contents/Resources/themes/)
|
||||
else()
|
||||
# Assume linux
|
||||
else() # Assume Linux
|
||||
install(DIRECTORY ${defthemes} DESTINATION share/cockatrice/themes/)
|
||||
endif()
|
||||
elseif(WIN32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue