Browse Source

Initial cmake conversion

pull/1/head
Alexander Golubev 4 years ago
committed by Slávek Banko
parent
commit
c70db62d36
181 changed files with 3623 additions and 10 deletions
  1. +156
    -0
      CMakeLists.txt
  2. +63
    -0
      ConfigureChecks.cmake
  3. +19
    -0
      atlantik/CMakeLists.txt
  4. +32
    -0
      atlantik/atlanticd/CMakeLists.txt
  5. +38
    -0
      atlantik/client/CMakeLists.txt
  6. +41
    -0
      atlantik/libatlantic/CMakeLists.txt
  7. +34
    -0
      atlantik/libatlantikclient/CMakeLists.txt
  8. +34
    -0
      atlantik/libatlantikui/CMakeLists.txt
  9. +10
    -0
      atlantik/pics/CMakeLists.txt
  10. +5
    -0
      atlantik/pics/board/CMakeLists.txt
  11. +12
    -0
      atlantik/pics/misc/CMakeLists.txt
  12. +12
    -0
      atlantik/pics/toolbar/CMakeLists.txt
  13. +39
    -0
      atlantik/tdeio_atlantik/CMakeLists.txt
  14. +3
    -0
      atlantik/themes/CMakeLists.txt
  15. +3
    -0
      atlantik/themes/default/CMakeLists.txt
  16. +7
    -0
      atlantik/themes/default/tokens/CMakeLists.txt
  17. +30
    -0
      config.h.cmake
  18. +3
    -0
      doc/CMakeLists.txt
  19. +3
    -0
      doc/atlantik/CMakeLists.txt
  20. +3
    -0
      doc/kasteroids/CMakeLists.txt
  21. +3
    -0
      doc/katomic/CMakeLists.txt
  22. +3
    -0
      doc/kbackgammon/CMakeLists.txt
  23. +3
    -0
      doc/kbattleship/CMakeLists.txt
  24. +3
    -0
      doc/kblackbox/CMakeLists.txt
  25. +3
    -0
      doc/kbounce/CMakeLists.txt
  26. +3
    -0
      doc/kenolaba/CMakeLists.txt
  27. +3
    -0
      doc/kfouleggs/CMakeLists.txt
  28. +3
    -0
      doc/kgoldrunner/CMakeLists.txt
  29. +3
    -0
      doc/kjumpingcube/CMakeLists.txt
  30. +3
    -0
      doc/klickety/CMakeLists.txt
  31. +3
    -0
      doc/klines/CMakeLists.txt
  32. +3
    -0
      doc/kmahjongg/CMakeLists.txt
  33. +3
    -0
      doc/kmines/CMakeLists.txt
  34. +3
    -0
      doc/kolf/CMakeLists.txt
  35. +3
    -0
      doc/konquest/CMakeLists.txt
  36. +3
    -0
      doc/kpat/CMakeLists.txt
  37. +3
    -0
      doc/kpoker/CMakeLists.txt
  38. +3
    -0
      doc/kreversi/CMakeLists.txt
  39. +3
    -0
      doc/ksame/CMakeLists.txt
  40. +3
    -0
      doc/kshisen/CMakeLists.txt
  41. +3
    -0
      doc/ksirtet/CMakeLists.txt
  42. +3
    -0
      doc/ksmiletris/CMakeLists.txt
  43. +3
    -0
      doc/ksnake/CMakeLists.txt
  44. +3
    -0
      doc/ksokoban/CMakeLists.txt
  45. +3
    -0
      doc/kspaceduel/CMakeLists.txt
  46. +3
    -0
      doc/ktron/CMakeLists.txt
  47. +3
    -0
      doc/ktuberling/CMakeLists.txt
  48. +3
    -0
      doc/lskat/CMakeLists.txt
  49. +3
    -0
      doc/twin4/CMakeLists.txt
  50. +50
    -0
      kasteroids/CMakeLists.txt
  51. +5
    -0
      kasteroids/sounds/CMakeLists.txt
  52. +22
    -0
      kasteroids/sprites/CMakeLists.txt
  53. +18
    -0
      kasteroids/sprites/bits/CMakeLists.txt
  54. +3
    -0
      kasteroids/sprites/exhaust/CMakeLists.txt
  55. +3
    -0
      kasteroids/sprites/missile/CMakeLists.txt
  56. +7
    -0
      kasteroids/sprites/powerups/CMakeLists.txt
  57. +34
    -0
      kasteroids/sprites/rock1/CMakeLists.txt
  58. +34
    -0
      kasteroids/sprites/rock2/CMakeLists.txt
  59. +34
    -0
      kasteroids/sprites/rock3/CMakeLists.txt
  60. +9
    -0
      kasteroids/sprites/shield/CMakeLists.txt
  61. +66
    -0
      kasteroids/sprites/ship/CMakeLists.txt
  62. +57
    -0
      katomic/CMakeLists.txt
  63. +5
    -0
      katomic/molek.cpp
  64. +50
    -0
      kbackgammon/CMakeLists.txt
  65. +39
    -0
      kbackgammon/engines/CMakeLists.txt
  66. +23
    -0
      kbackgammon/engines/fibs/CMakeLists.txt
  67. +21
    -0
      kbackgammon/engines/generic/CMakeLists.txt
  68. +22
    -0
      kbackgammon/engines/gnubg/CMakeLists.txt
  69. +23
    -0
      kbackgammon/engines/nextgen/CMakeLists.txt
  70. +22
    -0
      kbackgammon/engines/offline/CMakeLists.txt
  71. +4
    -0
      kbackgammon/icons/CMakeLists.txt
  72. +5
    -0
      kbackgammon/pics/CMakeLists.txt
  73. +6
    -0
      kbackgammon/sounds/CMakeLists.txt
  74. +3
    -0
      kbattleship/CMakeLists.txt
  75. +59
    -0
      kbattleship/kbattleship/CMakeLists.txt
  76. +30
    -0
      kbattleship/kbattleship/dialogs/CMakeLists.txt
  77. +13
    -0
      kbattleship/kbattleship/pictures/CMakeLists.txt
  78. +6
    -0
      kbattleship/kbattleship/sounds/CMakeLists.txt
  79. +40
    -0
      kblackbox/CMakeLists.txt
  80. +6
    -0
      kblackbox/pics/CMakeLists.txt
  81. +53
    -0
      kbounce/CMakeLists.txt
  82. +14
    -0
      kbounce/pics/CMakeLists.txt
  83. +6
    -0
      kbounce/sounds/CMakeLists.txt
  84. +42
    -0
      kenolaba/CMakeLists.txt
  85. +1
    -1
      kenolaba/Network.cpp
  86. +1
    -0
      kenolaba/bitmaps/CMakeLists.txt
  87. +7
    -0
      kenolaba/toolbar/CMakeLists.txt
  88. +58
    -0
      kfouleggs/CMakeLists.txt
  89. +4
    -0
      kfouleggs/pics/CMakeLists.txt
  90. +4
    -0
      kgoldrunner/CMakeLists.txt
  91. +24
    -0
      kgoldrunner/gamedata/CMakeLists.txt
  92. +52
    -0
      kgoldrunner/src/CMakeLists.txt
  93. +44
    -0
      kjumpingcube/CMakeLists.txt
  94. +52
    -0
      klickety/CMakeLists.txt
  95. +4
    -0
      klickety/pics/CMakeLists.txt
  96. +49
    -0
      klines/CMakeLists.txt
  97. +47
    -0
      kmahjongg/CMakeLists.txt
  98. +23
    -0
      kmahjongg/pics/CMakeLists.txt
  99. +45
    -0
      kmines/CMakeLists.txt
  100. +1
    -0
      kmines/bitmaps/CMakeLists.txt
  101. +14
    -0
      kmines/data/CMakeLists.txt
  102. +77
    -0
      kmines/solver/CMakeLists.txt
  103. +3
    -0
      knetwalk/CMakeLists.txt
  104. +43
    -0
      knetwalk/src/CMakeLists.txt
  105. +13
    -0
      knetwalk/src/pics/CMakeLists.txt
  106. +5
    -0
      knetwalk/src/sounds/CMakeLists.txt
  107. +86
    -0
      kolf/CMakeLists.txt
  108. +6
    -0
      kolf/courses/CMakeLists.txt
  109. +5
    -0
      kolf/graphics/CMakeLists.txt
  110. +1
    -0
      kolf/objects/CMakeLists.txt
  111. +29
    -0
      kolf/objects/poolball/CMakeLists.txt
  112. +29
    -0
      kolf/objects/test/CMakeLists.txt
  113. +4
    -0
      kolf/pics/CMakeLists.txt
  114. +6
    -0
      kolf/sounds/CMakeLists.txt
  115. +43
    -0
      konquest/CMakeLists.txt
  116. +7
    -0
      konquest/pics/CMakeLists.txt
  117. +54
    -0
      kpat/CMakeLists.txt
  118. +27
    -0
      kpat/freecell-solver/CMakeLists.txt
  119. +1
    -1
      kpat/freecell.cpp
  120. +1
    -1
      kpat/golf.cpp
  121. +4
    -0
      kpat/icons/CMakeLists.txt
  122. +1
    -1
      kpat/mod3.cpp
  123. +42
    -0
      kpoker/CMakeLists.txt
  124. +5
    -0
      kpoker/sounds/CMakeLists.txt
  125. +45
    -0
      kreversi/CMakeLists.txt
  126. +4
    -0
      kreversi/icons/CMakeLists.txt
  127. +9
    -0
      kreversi/pics/CMakeLists.txt
  128. +6
    -0
      kreversi/pics/background/CMakeLists.txt
  129. +9
    -0
      kreversi/sounds/CMakeLists.txt
  130. +40
    -0
      ksame/CMakeLists.txt
  131. +46
    -0
      kshisen/CMakeLists.txt
  132. +5
    -0
      kshisen/pics/CMakeLists.txt
  133. +3
    -0
      ksirtet/CMakeLists.txt
  134. +75
    -0
      ksirtet/ksirtet/CMakeLists.txt
  135. +44
    -0
      ksmiletris/CMakeLists.txt
  136. +12
    -0
      ksmiletris/data/CMakeLists.txt
  137. +5
    -0
      ksmiletris/wav/CMakeLists.txt
  138. +48
    -0
      ksnake/CMakeLists.txt
  139. +11
    -0
      ksnake/data/CMakeLists.txt
  140. +6
    -0
      ksnake/data/backgrounds/CMakeLists.txt
  141. +7
    -0
      ksnake/data/levels/CMakeLists.txt
  142. +5
    -0
      ksnake/data/pixmaps/CMakeLists.txt
  143. +41
    -0
      ksokoban/CMakeLists.txt
  144. +10
    -0
      ksokoban/data/CMakeLists.txt
  145. +43
    -0
      ksokoban/images/CMakeLists.txt
  146. +23
    -0
      ksokoban/levels/CMakeLists.txt
  147. +47
    -0
      kspaceduel/CMakeLists.txt
  148. +12
    -0
      kspaceduel/pics/CMakeLists.txt
  149. +14
    -0
      kspaceduel/sprites/CMakeLists.txt
  150. +21
    -0
      kspaceduel/sprites/explosion/CMakeLists.txt
  151. +6
    -0
      kspaceduel/sprites/playerinfo/CMakeLists.txt
  152. +6
    -0
      kspaceduel/sprites/powerups/CMakeLists.txt
  153. +24
    -0
      kspaceduel/sprites/ship1/CMakeLists.txt
  154. +24
    -0
      kspaceduel/sprites/ship2/CMakeLists.txt
  155. +5
    -0
      kspaceduel/sprites/sun/CMakeLists.txt
  156. +41
    -0
      ktron/CMakeLists.txt
  157. +4
    -0
      ktron/pics/CMakeLists.txt
  158. +49
    -0
      ktuberling/CMakeLists.txt
  159. +9
    -0
      ktuberling/museum/CMakeLists.txt
  160. +6
    -0
      ktuberling/pics/CMakeLists.txt
  161. +7
    -0
      ktuberling/sounds/CMakeLists.txt
  162. +5
    -0
      libksirtet/CMakeLists.txt
  163. +23
    -0
      libksirtet/base/CMakeLists.txt
  164. +36
    -0
      libksirtet/common/CMakeLists.txt
  165. +34
    -0
      libksirtet/lib/CMakeLists.txt
  166. +56
    -0
      libtdegames/CMakeLists.txt
  167. +17
    -0
      libtdegames/carddecks/CMakeLists.txt
  168. +40
    -0
      libtdegames/highscore/CMakeLists.txt
  169. +48
    -0
      libtdegames/kgame/CMakeLists.txt
  170. +30
    -0
      libtdegames/kgame/dialogs/CMakeLists.txt
  171. +9
    -0
      libtdegames/pics/CMakeLists.txt
  172. +16
    -0
      lskat/CMakeLists.txt
  173. +6
    -0
      lskat/grafix/CMakeLists.txt
  174. +34
    -0
      lskat/lskat/CMakeLists.txt
  175. +6
    -6
      lskat/lskat/KRSocket.cpp
  176. +23
    -0
      lskat/lskatproc/CMakeLists.txt
  177. +1
    -0
      lskat/lskatproc/docs/CMakeLists.txt
  178. +1
    -0
      lskat/lskatproc/docs/en/CMakeLists.txt
  179. +15
    -0
      twin4/CMakeLists.txt
  180. +15
    -0
      twin4/grafix/CMakeLists.txt
  181. +46
    -0
      twin4/twin4/CMakeLists.txt

+ 156
- 0
CMakeLists.txt View File

@ -0,0 +1,156 @@
#################################################
#
# (C) 2016 Alexander Golubev
# fatzer2 (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
cmake_minimum_required( VERSION 2.8 )
##### general package setup #####################
project( tdegames )
set( VERSION R14.1.0 )
##### include essential cmake modules ###########
include( FindPkgConfig )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckSymbolExists )
include( CheckCXXSourceCompiles )
##### include our cmake modules #################
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
##### setup install paths #######################
include( TDESetupPaths )
tde_setup_paths( )
##### optional stuff ############################
option( WITH_ARTS "Enable aRts support" ON )
##### options comments ##########################
# WITH_ARTS affects kbounce
# if disabled the game will have no sound
# NOTE: ARTS is unconditionally required to build kolf and kasteroids
##### user requested modules ####################
option( BUILD_ALL "Build all" OFF )
option( BUILD_ATLANTIK "Build atlantik" ${BUILD_ALL} )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_KASTEROIDS "Build kasteroids" ${BUILD_ALL} )
option( BUILD_KATOMIC "Build katomic" ${BUILD_ALL} )
option( BUILD_KBACKGAMMON "Build kbackgammon" ${BUILD_ALL} )
option( BUILD_KBATTLESHIP "Build kbattleship" ${BUILD_ALL} )
option( BUILD_KBLACKBOX "Build kblackbox" ${BUILD_ALL} )
option( BUILD_KBOUNCE "Build kbounce" ${BUILD_ALL} )
option( BUILD_KENOLABA "Build kenolaba" ${BUILD_ALL} )
option( BUILD_KFOULEGGS "Build kfouleggs" ${BUILD_ALL} )
option( BUILD_KGOLDRUNNER "Build kgoldrunner" ${BUILD_ALL} )
option( BUILD_KJUMPINGCUBE "Build kjumpingcube" ${BUILD_ALL} )
option( BUILD_KLICKETY "Build klickety" ${BUILD_ALL} )
option( BUILD_KLINES "Build klines" ${BUILD_ALL} )
option( BUILD_KMAHJONGG "Build kmahjongg" ${BUILD_ALL} )
option( BUILD_KMINES "Build kmines" ${BUILD_ALL} )
option( BUILD_KNETWALK "Build knetwalk" ${BUILD_ALL} )
option( BUILD_KOLF "Build kolf" ${BUILD_ALL} )
option( BUILD_KONQUEST "Build konquest" ${BUILD_ALL} )
option( BUILD_KPAT "Build kpat" ${BUILD_ALL} )
option( BUILD_KPOKER "Build kpoker" ${BUILD_ALL} )
option( BUILD_KREVERSI "Build kreversi" ${BUILD_ALL} )
option( BUILD_KSAME "Build ksame" ${BUILD_ALL} )
option( BUILD_KSHISEN "Build kshisen" ${BUILD_ALL} )
option( BUILD_KSIRTET "Build ksirtet" ${BUILD_ALL} )
option( BUILD_KSMILETRIS "Build ksmiletris" ${BUILD_ALL} )
option( BUILD_KSNAKE "Build ksnake" ${BUILD_ALL} )
option( BUILD_KSOKOBAN "Build ksokoban" ${BUILD_ALL} )
option( BUILD_KSPACEDUEL "Build kspaceduel" ${BUILD_ALL} )
option( BUILD_KTRON "Build ktron" ${BUILD_ALL} )
option( BUILD_KTUBERLING "Build ktuberling" ${BUILD_ALL} )
option( BUILD_LIBTDEGAMES "Build libtdegames" ${BUILD_ALL} )
option( BUILD_LSKAT "Build lskat" ${BUILD_ALL} )
option( BUILD_TWIN4 "Build twin4" ${BUILD_ALL} )
##### configure checks ##########################
include( ConfigureChecks.cmake )
###### global compiler settings #################
add_definitions(
-DHAVE_CONFIG_H
)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
if( WITH_TEST )
enable_testing()
endif( WITH_TEST )
##### tdeaddons directories #####################
tde_conditional_add_subdirectory( BUILD_ATLANTIK atlantik )
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_KASTEROIDS kasteroids )
tde_conditional_add_subdirectory( BUILD_KATOMIC katomic )
tde_conditional_add_subdirectory( BUILD_KBACKGAMMON kbackgammon )
tde_conditional_add_subdirectory( BUILD_KBATTLESHIP kbattleship )
tde_conditional_add_subdirectory( BUILD_KBLACKBOX kblackbox )
tde_conditional_add_subdirectory( BUILD_KBOUNCE kbounce )
tde_conditional_add_subdirectory( BUILD_KENOLABA kenolaba )
tde_conditional_add_subdirectory( BUILD_KFOULEGGS kfouleggs )
tde_conditional_add_subdirectory( BUILD_KGOLDRUNNER kgoldrunner )
tde_conditional_add_subdirectory( BUILD_KJUMPINGCUBE kjumpingcube )
tde_conditional_add_subdirectory( BUILD_KLICKETY klickety )
tde_conditional_add_subdirectory( BUILD_KLINES klines )
tde_conditional_add_subdirectory( BUILD_KMAHJONGG kmahjongg )
tde_conditional_add_subdirectory( BUILD_KMINES kmines )
tde_conditional_add_subdirectory( BUILD_KNETWALK knetwalk )
tde_conditional_add_subdirectory( BUILD_KOLF kolf )
tde_conditional_add_subdirectory( BUILD_KONQUEST konquest )
tde_conditional_add_subdirectory( BUILD_KPAT kpat )
tde_conditional_add_subdirectory( BUILD_KPOKER kpoker )
tde_conditional_add_subdirectory( BUILD_KREVERSI kreversi )
tde_conditional_add_subdirectory( BUILD_KSAME ksame )
tde_conditional_add_subdirectory( BUILD_KSHISEN kshisen )
tde_conditional_add_subdirectory( BUILD_KSIRTET ksirtet )
tde_conditional_add_subdirectory( BUILD_KSMILETRIS ksmiletris )
tde_conditional_add_subdirectory( BUILD_KSNAKE ksnake )
tde_conditional_add_subdirectory( BUILD_KSOKOBAN ksokoban )
tde_conditional_add_subdirectory( BUILD_KSPACEDUEL kspaceduel )
tde_conditional_add_subdirectory( BUILD_KTRON ktron )
tde_conditional_add_subdirectory( BUILD_KTUBERLING ktuberling )
tde_conditional_add_subdirectory( BUILD_LIBTDEGAMES libtdegames )
tde_conditional_add_subdirectory( BUILD_LSKAT lskat )
tde_conditional_add_subdirectory( BUILD_TWIN4 twin4 )
if( BUILD_KSIRTET OR BUILD_KFOULEGGS OR BUILD_KLICKETY )
add_subdirectory( libksirtet )
endif( )
##### write configure files #####################
configure_file( config.h.cmake config.h @ONLY )

+ 63
- 0
ConfigureChecks.cmake View File

@ -0,0 +1,63 @@
#################################################
#
# (C) 2016 Alexander Golubev
# fatzer2 (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
##### check for gcc visibility support #########
# FIXME
# This should check for [T]Qt3 visibility support
if( WITH_GCC_VISIBILITY )
if( NOT UNIX )
tde_message_fatal( "gcc visibility support was requested, but your system is not *NIX" )
endif( NOT UNIX )
set( __KDE_HAVE_GCC_VISIBILITY 1 )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
endif( WITH_GCC_VISIBILITY )
tde_setup_architecture_flags( )
# arts
if( WITH_ARTS )
pkg_search_module( ARTS arts )
if( ARTS_FOUND )
set( HAVE_ARTS 1 )
else( )
tde_message_fatal( "aRts is requested, but was not found on your system" )
endif( )
else( WITH_ARTS )
if (BUILD_KASTEROIDS OR BUILD_KOLF)
tde_message_fatal( "aRts support is disabled, but it is required to build kasteroids and kolf" )
endif( )
endif( WITH_ARTS )
##### Other dependencies ########################
check_include_file( "stropts.h" HAVE_STROPTS_H )
check_include_file( "sys/filio.h" HAVE_SYS_FILIO_H )
check_include_file( "sys/select.h" HAVE_SYS_SELECT_H )
check_include_file( "sysent.h" HAVE_SYSENT_H )
check_symbol_exists( usleep "unistd.h" HAVE_USLEEP )
check_symbol_exists( strlcpy "string.h" HAVE_USLEEP )
# NOTE: Borrowed from tdelibs
# FIXME I'm not sure if test TIME_WITH_SYS_TIME are correct
check_include_file( "sys/time.h" HAVE_SYS_TIME_H )
check_include_file( "time.h" HAVE_TIME_H )
if( HAVE_SYS_TIME_H AND HAVE_TIME_H )
set( TIME_WITH_SYS_TIME 1 )
endif( HAVE_SYS_TIME_H AND HAVE_TIME_H )
# required stuff
find_package( TQt )
find_package( TDE )

+ 19
- 0
atlantik/CMakeLists.txt View File

@ -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
)

+ 32
- 0
atlantik/atlanticd/CMakeLists.txt View File

@ -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}
)

+ 38
- 0
atlantik/client/CMakeLists.txt View File

@ -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}
)

+ 41
- 0
atlantik/libatlantic/CMakeLists.txt View File

@ -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}
)

+ 34
- 0
atlantik/libatlantikclient/CMakeLists.txt View File

@ -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}
)

+ 34
- 0
atlantik/libatlantikui/CMakeLists.txt View File

@ -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
)

+ 10
- 0
atlantik/pics/CMakeLists.txt View File

@ -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 )

+ 5
- 0
atlantik/pics/board/CMakeLists.txt View File

@ -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
)

+ 12
- 0
atlantik/pics/misc/CMakeLists.txt View File

@ -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 )

+ 12
- 0
atlantik/pics/toolbar/CMakeLists.txt View File

@ -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 )

+ 39
- 0
atlantik/tdeio_atlantik/CMakeLists.txt View File

@ -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}
)

+ 3
- 0
atlantik/themes/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( default )

+ 3
- 0
atlantik/themes/default/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( tokens )

+ 7
- 0
atlantik/themes/default/tokens/CMakeLists.txt View File

@ -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
)

+ 30
- 0
config.h.cmake View File

@ -0,0 +1,30 @@
#define VERSION "@VERSION@"
// katomic
#cmakedefine HAVE_STRLCPY 1
// kbounce
#cmakedefine HAVE_ARTS 1
// kbattleship
#cmakedefine HAVE_STROPTS_H 1
// Something unknown and atiant; disabled permanently
// HAVE_KIR
// kbattleship & libksirtet
#cmakedefine HAVE_SYS_FILIO_H 1
// ksmiletris
#cmakedefine HAVE_USLEEP 1
// ksokoban
// Permanently turned on due to required by tdelibs anyway
#define USE_LIBZ 1
// libksirtet
#cmakedefine HAVE_SYS_SELECT_H 1
// lskat
#cmakedefine HAVE_SYSENT_H 1
#cmakedefine TIME_WITH_SYS_TIME 1

+ 3
- 0
doc/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_auto_add_subdirectories( )

+ 3
- 0
doc/atlantik/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION atlantik )

+ 3
- 0
doc/kasteroids/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kasteroids )

+ 3
- 0
doc/katomic/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION katomic )

+ 3
- 0
doc/kbackgammon/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kbackgammon )

+ 3
- 0
doc/kbattleship/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kbattleship )

+ 3
- 0
doc/kblackbox/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kblackbox )

+ 3
- 0
doc/kbounce/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kbounce )

+ 3
- 0
doc/kenolaba/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kenolaba )

+ 3
- 0
doc/kfouleggs/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kfouleggs )

+ 3
- 0
doc/kgoldrunner/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kgoldrunner )

+ 3
- 0
doc/kjumpingcube/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kjumpingcube )

+ 3
- 0
doc/klickety/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION klickety )

+ 3
- 0
doc/klines/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION klines )

+ 3
- 0
doc/kmahjongg/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kmahjongg )

+ 3
- 0
doc/kmines/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kmines )

+ 3
- 0
doc/kolf/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kolf )

+ 3
- 0
doc/konquest/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION konquest )

+ 3
- 0
doc/kpat/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kpat )

+ 3
- 0
doc/kpoker/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kpoker )

+ 3
- 0
doc/kreversi/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kreversi )

+ 3
- 0
doc/ksame/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION ksame )

+ 3
- 0
doc/kshisen/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kshisen )

+ 3
- 0
doc/ksirtet/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION ksirtet )

+ 3
- 0
doc/ksmiletris/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION ksmiletris )

+ 3
- 0
doc/ksnake/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION ksnake )

+ 3
- 0
doc/ksokoban/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION ksokoban )

+ 3
- 0
doc/kspaceduel/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION kspaceduel )

+ 3
- 0
doc/ktron/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION ktron )

+ 3
- 0
doc/ktuberling/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION ktuberling )

+ 3
- 0
doc/lskat/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION lskat )

+ 3
- 0
doc/twin4/CMakeLists.txt View File

@ -0,0 +1,3 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
tde_create_handbook( DESTINATION twin4 )

+ 50
- 0
kasteroids/CMakeLists.txt View File

@ -0,0 +1,50 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
add_subdirectory( sprites )
add_subdirectory( sounds )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/libtdegames
${CMAKE_SOURCE_DIR}/libtdegames/highscore
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### kasteroids (executable) ###################
tde_add_executable( kasteroids AUTOMOC
SOURCES main.cpp view.cpp ledmeter.cpp toplevel.cpp settings.kcfgc
LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### icons #####################################
tde_install_icons( kasteroids )
##### other data ################################
install( FILES kasteroids.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)
install( FILES kasteroidsui.rc
DESTINATION ${DATA_INSTALL_DIR}/kasteroids
)
install( FILES kasteroids.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)
install( FILES bg.png
DESTINATION ${DATA_INSTALL_DIR}/kasteroids/sprites
)

+ 5
- 0
kasteroids/sounds/CMakeLists.txt View File

@ -0,0 +1,5 @@
# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
install( FILES Explosion.wav
DESTINATION ${DATA_INSTALL_DIR}/kasteroids/sounds
)

+ 22
- 0
kasteroids/sprites/CMakeLists.txt View File

@ -0,0 +1,22 @@
#################################################
#
# (C) 2016 Alexander Golubev
# fatzer2 (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
set ( KASTEROID_SPRITES_DIR ${DATA_INSTALL_DIR}/kasteroids/sprites )
add_subdirectory( bits )
add_subdirectory( missile )
add_subdirectory( rock1 )
add_subdirectory( rock2 )
add_subdirectory( rock3 )
add_subdirectory( ship )
add_subdirectory( shield )
add_subdirectory( powerups )
add_subdirectory( exhaust )

+ 18
- 0
kasteroids/sprites/bits/CMakeLists.txt View File

@ -0,0 +1,18 @@
install (FILES
bits0000.png
bits0001.png
bits0002.png
bits0003.png
bits0004.png
bits0005.png
bits0006.png
bits0007.png
bits0008.png
bits0009.png
bits0010.png
bits0011.png
bits0012.png
bits0013.png
bits0014.png
bits0015.png
DESTINATION ${KASTEROID_SPRITES_DIR}/bits )

+ 3
- 0
kasteroids/sprites/exhaust/CMakeLists.txt View File

@ -0,0 +1,3 @@
install (FILES
exhaust.png
DESTINATION ${KASTEROID_SPRITES_DIR}/exhaust )

+ 3
- 0
kasteroids/sprites/missile/CMakeLists.txt View File

@ -0,0 +1,3 @@
install (FILES
missile.png
DESTINATION ${KASTEROID_SPRITES_DIR}/missile )

+ 7
- 0
kasteroids/sprites/powerups/CMakeLists.txt View File

@ -0,0 +1,7 @@
install (FILES
brake.png
energy.png
shield.png
shoot.png
teleport.png
DESTINATION ${KASTEROID_SPRITES_DIR}/powerups )

+ 34
- 0
kasteroids/sprites/rock1/CMakeLists.txt View File

@ -0,0 +1,34 @@
install (FILES
rock10000.png
rock10001.png
rock10002.png
rock10003.png
rock10004.png
rock10005.png
rock10006.png
rock10007.png
rock10008.png
rock10009.png
rock10010.png
rock10011.png
rock10012.png
rock10013.png
rock10014.png
rock10015.png
rock10016.png
rock10017.png
rock10018.png
rock10019.png
rock10020.png
rock10021.png
rock10022.png
rock10023.png
rock10024.png
rock10025.png
rock10026.png
rock10027.png
rock10028.png
rock10029.png
rock10030.png
rock10031.png
DESTINATION ${KASTEROID_SPRITES_DIR}/rock1 )

+ 34
- 0
kasteroids/sprites/rock2/CMakeLists.txt View File

@ -0,0 +1,34 @@
install (FILES
rock20000.png
rock20001.png
rock20002.png
rock20003.png
rock20004.png
rock20005.png
rock20006.png
rock20007.png
rock20008.png
rock20009.png
rock20010.png
rock20011.png
rock20012.png
rock20013.png
rock20014.png
rock20015.png
rock20016.png
rock20017.png
rock20018.png
rock20019.png
rock20020.png
rock20021.png
rock20022.png
rock20023.png
rock20024.png
rock20025.png
rock20026.png
rock20027.png
rock20028.png
rock20029.png
rock20030.png
rock20031.png
DESTINATION ${KASTEROID_SPRITES_DIR}/rock2 )

+ 34
- 0
kasteroids/sprites/rock3/CMakeLists.txt View File

@ -0,0 +1,34 @@
install (FILES
rock30000.png
rock30001.png
rock30002.png
rock30003.png
rock30004.png
rock30005.png
rock30006.png
rock30007.png
rock30008.png
rock30009.png
rock30010.png
rock30011.png
rock30012.png
rock30013.png
rock30014.png
rock30015.png
rock30016.png
rock30017.png
rock30018.png
rock30019.png
rock30020.png
rock30021.png
rock30022.png
rock30023.png
rock30024.png
rock30025.png
rock30026.png
rock30027.png
rock30028.png
rock30029.png
rock30030.png
rock30031.png
DESTINATION ${KASTEROID_SPRITES_DIR}/rock3 )

+ 9
- 0
kasteroids/sprites/shield/CMakeLists.txt View File

@ -0,0 +1,9 @@
install (FILES
shield0000.png
shield0001.png
shield0002.png
shield0003.png
shield0004.png
shield0005.png
shield0006.png
DESTINATION ${KASTEROID_SPRITES_DIR}/shield )

+ 66
- 0
kasteroids/sprites/ship/CMakeLists.txt View File

@ -0,0 +1,66 @@
install (FILES
ship0000.png
ship0001.png
ship0002.png
ship0003.png
ship0004.png
ship0005.png
ship0006.png
ship0007.png
ship0008.png
ship0009.png
ship0010.png
ship0011.png
ship0012.png
ship0013.png
ship0014.png
ship0015.png
ship0016.png
ship0017.png
ship0018.png
ship0019.png
ship0020.png
ship0021.png
ship0022.png
ship0023.png
ship0024.png
ship0025.png
ship0026.png
ship0027.png
ship0028.png
ship0029.png
ship0030.png
ship0031.png
ship0032.png
ship0033.png
ship0034.png
ship0035.png
ship0036.png
ship0037.png
ship0038.png
ship0039.png
ship0040.png
ship0041.png
ship0042.png
ship0043.png
ship0044.png
ship0045.png
ship0046.png
ship0047.png
ship0048.png
ship0049.png
ship0050.png
ship0051.png
ship0052.png
ship0053.png
ship0054.png
ship0055.png
ship0056.png
ship0057.png
ship0058.png
ship0059.png
ship0060.png
ship0061.png
ship0062.png
ship0063.png
DESTINATION ${KASTEROID_SPRITES_DIR}/ship )

+ 57
- 0
katomic/CMakeLists.txt View File

@ -0,0 +1,57 @@
#################################################
#
# (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}/libtdegames/highscore
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### katomic (executable) ######################
tde_add_executable( katomic AUTOMOC
SOURCES feld.cpp molek.cpp main.cpp toplevel.cpp configbox.cpp gamewidget.cpp
LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared
DESTINATION ${BIN_INSTALL_DIR}
)
##### icons #####################################
tde_install_icons( katomic )