summaryrefslogtreecommitdiffstats
path: root/qnetchess/src/CMakeLists.txt
diff options
context:
space:
mode:
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}
+)