summaryrefslogtreecommitdiffstats
path: root/atlantik
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2016-02-25 06:23:55 +0300
committerSlávek Banko <[email protected]>2016-03-14 23:04:06 +0100
commitc70db62d3671e524d23ac974d296eb218159b000 (patch)
tree08d8ed5d0c7c170a7940bcbb80989b99ead98447 /atlantik
parent133cc7035dbdcaf812d8370f729530fa60547f92 (diff)
downloadtdegames-c70db62d3671e524d23ac974d296eb218159b000.tar.gz
tdegames-c70db62d3671e524d23ac974d296eb218159b000.zip
Initial cmake conversion
Diffstat (limited to 'atlantik')
-rw-r--r--atlantik/CMakeLists.txt19
-rw-r--r--atlantik/atlanticd/CMakeLists.txt32
-rw-r--r--atlantik/client/CMakeLists.txt38
-rw-r--r--atlantik/libatlantic/CMakeLists.txt41
-rw-r--r--atlantik/libatlantikclient/CMakeLists.txt34
-rw-r--r--atlantik/libatlantikui/CMakeLists.txt34
-rw-r--r--atlantik/pics/CMakeLists.txt10
-rw-r--r--atlantik/pics/board/CMakeLists.txt5
-rw-r--r--atlantik/pics/misc/CMakeLists.txt12
-rw-r--r--atlantik/pics/toolbar/CMakeLists.txt12
-rw-r--r--atlantik/tdeio_atlantik/CMakeLists.txt39
-rw-r--r--atlantik/themes/CMakeLists.txt3
-rw-r--r--atlantik/themes/default/CMakeLists.txt3
-rw-r--r--atlantik/themes/default/tokens/CMakeLists.txt7
14 files changed, 289 insertions, 0 deletions
diff --git a/atlantik/CMakeLists.txt b/atlantik/CMakeLists.txt
new file mode 100644
index 00000000..138370db
--- /dev/null
+++ b/atlantik/CMakeLists.txt
@@ -0,0 +1,19 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( libatlantic )
+add_subdirectory( libatlantikclient )
+add_subdirectory( libatlantikui )
+add_subdirectory( client )
+add_subdirectory( tdeio_atlantik )
+add_subdirectory( pics )
+add_subdirectory( themes )
+
+##### other data ################################
+
+install( FILES atlantik.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install( FILES atlantikui.rc eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/atlantik
+)
diff --git a/atlantik/atlanticd/CMakeLists.txt b/atlantik/atlanticd/CMakeLists.txt
new file mode 100644
index 00000000..23687f54
--- /dev/null
+++ b/atlantik/atlanticd/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (C) 2016 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/atlantik/libatlantic
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### atlanticd (executable) ####################
+
+tde_add_executable( atlanticd AUTOMOC
+ SOURCES atlanticclient.cpp atlanticdaemon.cpp main.cpp serversocket.cpp
+ LINK ${TQT_LIBRARIES} libatlantic-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/atlantik/client/CMakeLists.txt b/atlantik/client/CMakeLists.txt
new file mode 100644
index 00000000..10a7e79a
--- /dev/null
+++ b/atlantik/client/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (C) 2016 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libtdegames
+ ${CMAKE_SOURCE_DIR}/atlantik/libatlantic
+ ${CMAKE_SOURCE_DIR}/atlantik/libatlantikui
+ ${CMAKE_SOURCE_DIR}/atlantik/libatlantikclient
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### atlantik (executable) #####################
+
+tde_add_executable( atlantik AUTOMOC
+ SOURCES atlantik.cpp configdlg.cpp event.cpp eventlogwidget.cpp main.cpp
+ monopigator.cpp selectconfiguration_widget.cpp selectgame_widget.cpp
+ selectserver_widget.cpp
+ LINK tdecore-shared tdeui-shared tdeio-shared atlantikui-shared
+ atlantikclient-shared tdeio-shared tdegames-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/atlantik/libatlantic/CMakeLists.txt b/atlantik/libatlantic/CMakeLists.txt
new file mode 100644
index 00000000..6fb000bb
--- /dev/null
+++ b/atlantik/libatlantic/CMakeLists.txt
@@ -0,0 +1,41 @@
+#################################################
+#
+# (C) 2016 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ atlantic_core.h auction.h configoption.h estate.h
+ estategroup.h game.h player.h trade.h libatlantic_export.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/atlantic )
+
+
+##### atlantic (shared) #########################
+
+tde_add_library( atlantic SHARED AUTOMOC
+ SOURCES atlantic_core.cpp auction.cpp configoption.cpp estate.cpp
+ estategroup.cpp game.cpp player.cpp trade.cpp
+ LINK ${TQT_LIBRARIES}
+ VERSION 3.0.2
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/atlantik/libatlantikclient/CMakeLists.txt b/atlantik/libatlantikclient/CMakeLists.txt
new file mode 100644
index 00000000..53d2a932
--- /dev/null
+++ b/atlantik/libatlantikclient/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (C) 2016 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+##################################################
+
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/atlantik/libatlantic
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### atlantikclient (shared) ###################
+
+tde_add_library( atlantikclient SHARED AUTOMOC
+ SOURCES atlantik_network.cpp monopdprotocol.cpp
+ VERSION 3.0.2
+ LINK tdeio-shared atlantic-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/atlantik/libatlantikui/CMakeLists.txt b/atlantik/libatlantikui/CMakeLists.txt
new file mode 100644
index 00000000..0af2c33e
--- /dev/null
+++ b/atlantik/libatlantikui/CMakeLists.txt
@@ -0,0 +1,34 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/atlantik/libatlantic
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### atlantikui (shared) #######################
+
+tde_add_library( atlantikui SHARED AUTOMOC
+ SOURCES auction_widget.cpp board.cpp estatedetails.cpp estateview.cpp
+ kwrappedlistviewitem.cpp portfolioestate.cpp portfolioview.cpp token.cpp
+ trade_widget.cpp
+ VERSION 3.0.2
+ LINK atlantic-shared tdeio-shared tdecore-shared tdeui-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### headers ###################################
+install( FILES auction_widget.h board.h estatedetails.h estateview.h
+ kwrappedlistviewitem.h portfolioestate.h portfolioview.h token.h
+ trade_widget.h libatlantikui_export.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/atlantik/ui
+)
diff --git a/atlantik/pics/CMakeLists.txt b/atlantik/pics/CMakeLists.txt
new file mode 100644
index 00000000..787378c8
--- /dev/null
+++ b/atlantik/pics/CMakeLists.txt
@@ -0,0 +1,10 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( board )
+add_subdirectory( misc )
+add_subdirectory( toolbar )
+
+##### icons #####################################
+
+tde_install_icons( atlantik )
+
diff --git a/atlantik/pics/board/CMakeLists.txt b/atlantik/pics/board/CMakeLists.txt
new file mode 100644
index 00000000..3302333c
--- /dev/null
+++ b/atlantik/pics/board/CMakeLists.txt
@@ -0,0 +1,5 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES arrow.png qmark-blue.png qmark-red.png token.png train.png
+ DESTINATION ${DATA_INSTALL_DIR}/atlantik/pics
+)
diff --git a/atlantik/pics/misc/CMakeLists.txt b/atlantik/pics/misc/CMakeLists.txt
new file mode 100644
index 00000000..1997f767
--- /dev/null
+++ b/atlantik/pics/misc/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2016 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/atlantik/icons )
diff --git a/atlantik/pics/toolbar/CMakeLists.txt b/atlantik/pics/toolbar/CMakeLists.txt
new file mode 100644
index 00000000..1997f767
--- /dev/null
+++ b/atlantik/pics/toolbar/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2016 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/atlantik/icons )
diff --git a/atlantik/tdeio_atlantik/CMakeLists.txt b/atlantik/tdeio_atlantik/CMakeLists.txt
new file mode 100644
index 00000000..cbad7286
--- /dev/null
+++ b/atlantik/tdeio_atlantik/CMakeLists.txt
@@ -0,0 +1,39 @@
+#################################################
+#
+# (C) 2016 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/atlantik/libatlantic
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### tdeio_atlantik (kpart) ####################
+
+tde_add_kpart( tdeio_atlantik AUTOMOC
+ SOURCES tdeio_atlantik.cpp
+ LINK tdeio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES atlantik.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/atlantik/themes/CMakeLists.txt b/atlantik/themes/CMakeLists.txt
new file mode 100644
index 00000000..c8feaf64
--- /dev/null
+++ b/atlantik/themes/CMakeLists.txt
@@ -0,0 +1,3 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( default )
diff --git a/atlantik/themes/default/CMakeLists.txt b/atlantik/themes/default/CMakeLists.txt
new file mode 100644
index 00000000..42733a33
--- /dev/null
+++ b/atlantik/themes/default/CMakeLists.txt
@@ -0,0 +1,3 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( tokens )
diff --git a/atlantik/themes/default/tokens/CMakeLists.txt b/atlantik/themes/default/tokens/CMakeLists.txt
new file mode 100644
index 00000000..aa9c12d1
--- /dev/null
+++ b/atlantik/themes/default/tokens/CMakeLists.txt
@@ -0,0 +1,7 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES badge.png beachball.png bell.png bomb.png cat.png cookie.png
+ cube.png eyeball.png flag.png ghost.png globe.png hamburger.png lips.png
+ puzzle.png pyramid.png skull.png traffic_light.png wizard.png
+ DESTINATION ${DATA_INSTALL_DIR}/atlantik/themes/default/tokens
+)