3 controllers/editgame.cpp
4 controllers/abstract.cpp
5 controllers/editposition.cpp
6 controllers/entitytoken.cpp
15 luaapi/genericwrapper.cpp
20 entities/gameentity.cpp
21 entities/userentity.cpp
22 entities/examinationentity.cpp
24 entities/engineentity.cpp
25 entities/icsentity.cpp
27 hlvariant/chess/variant.cpp
28 hlvariant/chess/san.cpp
29 hlvariant/chess/icsverbose.cpp
30 hlvariant/chess/move.cpp
31 hlvariant/chess/gamestate.cpp
32 hlvariant/chess/piece.cpp
33 hlvariant/chess/actions.cpp
35 hlvariant/dummy/variant.cpp
37 hlvariant/crazyhouse/variant.cpp
38 hlvariant/crazyhouse/piece.cpp
40 hlvariant/minichess5/variant.cpp
42 hlvariant/shogi/variant.cpp
43 hlvariant/shogi/piece.cpp
44 hlvariant/shogi/shogiactions.cpp
46 hlvariant/minishogi/variant.cpp
48 hlvariant/sho-shogi/variant.cpp
50 hlvariant/tori-shogi/variant.cpp
51 hlvariant/tori-shogi/piece.cpp
119 # remove spurious xpressive warnings
120 set_source_files_properties(icsconnection.cpp
121 PROPERTIES COMPILE_FLAGS -Wno-extra)
123 kde4_add_ui_files(tagua_SRC
132 ui/pref_theme_page.ui
139 ${Boost_INCLUDE_DIRS}
141 ${CMAKE_CURRENT_BINARY_DIR}
148 if(NOT DEFINED COMPILER_HAVE_X86_MMX)
149 check_cxx_source_compiles(" int main() { __asm__(\"pxor %mm0, %mm0\") ; }" COMPILER_HAVE_X86_MMX)
150 endif(NOT DEFINED COMPILER_HAVE_X86_MMX)
152 if(NOT DEFINED COMPILER_HAVE_X86_SSE2)
153 check_cxx_source_compiles(" int main() { __asm__(\"xorpd %xmm0, %xmm0\"); }" COMPILER_HAVE_X86_SSE2)
154 endif(NOT DEFINED COMPILER_HAVE_X86_SSE2)
156 if(COMPILER_HAVE_X86_MMX)
157 list(APPEND tagua_SRC imageeffects_mmx.cpp)
158 set_source_files_properties(imageeffects_mmx.cpp PROPERTIES COMPILE_FLAGS -mmmx)
159 set_source_files_properties(imageeffects.cpp PROPERTIES COMPILE_FLAGS -DHAVE_X86_MMX)
160 endif(COMPILER_HAVE_X86_MMX)
162 if(COMPILER_HAVE_X86_SSE2)
163 list(APPEND tagua_SRC imageeffects_sse.cpp)
164 set_source_files_properties(imageeffects_sse.cpp PROPERTIES COMPILE_FLAGS -msse2)
165 set_source_files_properties(imageeffects.cpp PROPERTIES COMPILE_FLAGS -DHAVE_X86_SSE2)
166 endif(COMPILER_HAVE_X86_SSE2)
169 set(TAGUA_TARGET taguaprivate)
171 kde4_add_library(taguaprivate SHARED ${tagua_SRC})
172 kde4_add_executable(tagua main.cpp)
174 set(TAGUA_TARGET tagua)
175 kde4_add_executable(tagua main.cpp ${tagua_SRC})
181 ${Boost_LIBRARY_DIRS}
182 ${CMAKE_BINARY_DIR}/lib
184 target_link_libraries(${TAGUA_TARGET}
194 target_link_libraries(tagua taguaprivate)
195 install(TARGETS taguaprivate DESTINATION ${LIB_INSTALL_DIR})
199 INSTALL(TARGETS tagua DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
200 install(FILES tagua.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
201 install(FILES taguaui.rc DESTINATION ${DATA_INSTALL_DIR}/tagua)