summaryrefslogtreecommitdiffstats
path: root/qnetchess/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-03-28 17:45:12 +0300
committerDenis Kozadaev <denis@dilos.org>2020-03-28 17:45:12 +0300
commitb93fd6da0b9fd56962db2ea64f98da30d5f93538 (patch)
tree9e20e7301f6d6ed7b45750718d6998a0d39e2ced /qnetchess/src/CMakeLists.txt
parent62af0157e055222214ab132575e41f924e997ff1 (diff)
downloadtdegames-b93fd6da0b9fd56962db2ea64f98da30d5f93538.tar.gz
tdegames-b93fd6da0b9fd56962db2ea64f98da30d5f93538.zip
Network Chess game for two playersqnetchess
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'qnetchess/src/CMakeLists.txt')
-rw-r--r--qnetchess/src/CMakeLists.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/qnetchess/src/CMakeLists.txt b/qnetchess/src/CMakeLists.txt
new file mode 100644
index 00000000..4d5bac08
--- /dev/null
+++ b/qnetchess/src/CMakeLists.txt
@@ -0,0 +1,44 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+# (C) 2011-2012 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing (DOT) net
+#
+# 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_DIR}
+)
+
+
+##### q15 #################################
+
+install( PROGRAMS
+ ${CMAKE_CURRENT_BINARY_DIR}/qnetchess
+ DESTINATION ${BIN_INSTALL_DIR} )
+
+
+set( target qnetchess )
+
+set( ${target}_SRCS
+ gameboard.cpp gamesocket.cpp main.cpp mainwindow.cpp
+)
+
+tde_add_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+ LINK tqt-mt
+ DESTINATION ${BIN_INSTALL_DIR}
+)