2 controllers/editgame.cpp
3 controllers/abstract.cpp
4 controllers/editposition.cpp
5 controllers/entitytoken.cpp
14 luaapi/genericwrapper.cpp
19 entities/gameentity.cpp
20 entities/userentity.cpp
21 entities/examinationentity.cpp
23 entities/engineentity.cpp
24 entities/icsentity.cpp
26 variantfactories/kdepluginvariants.cpp
92 # remove spurious xpressive warnings
93 set_source_files_properties(icsconnection.cpp
94 PROPERTIES COMPILE_FLAGS -Wno-extra)
96 kde4_add_ui_files(tagua_SRC
105 ui/pref_theme_page.ui
112 ${Boost_INCLUDE_DIRS}
114 ${CMAKE_CURRENT_BINARY_DIR}
121 if(NOT DEFINED COMPILER_HAVE_X86_MMX)
122 check_cxx_source_compiles(" int main() { __asm__(\"pxor %mm0, %mm0\") ; }" COMPILER_HAVE_X86_MMX)
123 endif(NOT DEFINED COMPILER_HAVE_X86_MMX)
125 if(NOT DEFINED COMPILER_HAVE_X86_SSE2)
126 check_cxx_source_compiles(" int main() { __asm__(\"xorpd %xmm0, %xmm0\"); }" COMPILER_HAVE_X86_SSE2)
127 endif(NOT DEFINED COMPILER_HAVE_X86_SSE2)
129 if(COMPILER_HAVE_X86_MMX)
130 list(APPEND tagua_SRC imageeffects_mmx.cpp)
131 set_source_files_properties(imageeffects_mmx.cpp PROPERTIES COMPILE_FLAGS -mmmx)
132 set_source_files_properties(imageeffects.cpp PROPERTIES COMPILE_FLAGS -DHAVE_X86_MMX)
133 endif(COMPILER_HAVE_X86_MMX)
135 if(COMPILER_HAVE_X86_SSE2)
136 list(APPEND tagua_SRC imageeffects_sse.cpp)
137 set_source_files_properties(imageeffects_sse.cpp PROPERTIES COMPILE_FLAGS -msse2)
138 set_source_files_properties(imageeffects.cpp PROPERTIES COMPILE_FLAGS -DHAVE_X86_SSE2)
139 endif(COMPILER_HAVE_X86_SSE2)
142 set(TAGUA_TARGET taguaprivate)
144 kde4_add_library(taguaprivate SHARED ${tagua_SRC})
145 kde4_add_executable(tagua main.cpp)
147 set(TAGUA_TARGET tagua)
148 kde4_add_executable(tagua main.cpp ${tagua_SRC})
151 add_subdirectory(core)
152 add_subdirectory(variants)
156 ${Boost_LIBRARY_DIRS}
157 ${CMAKE_BINARY_DIR}/lib
159 target_link_libraries(${TAGUA_TARGET}
172 target_link_libraries(tagua taguaprivate)
173 install(TARGETS taguaprivate DESTINATION ${LIB_INSTALL_DIR})
177 INSTALL(TARGETS tagua DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
178 install(FILES tagua.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
179 install(FILES taguaui.rc DESTINATION ${DATA_INSTALL_DIR}/tagua)