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
90 # remove spurious xpressive warnings
91 set_source_files_properties(icsconnection.cpp
92 PROPERTIES COMPILE_FLAGS -Wno-extra)
94 kde4_add_ui_files(tagua_SRC
103 ui/pref_theme_page.ui
110 ${Boost_INCLUDE_DIRS}
112 ${CMAKE_CURRENT_BINARY_DIR}
119 if(NOT DEFINED COMPILER_HAVE_X86_MMX)
120 check_cxx_source_compiles(" int main() { __asm__(\"pxor %mm0, %mm0\") ; }" COMPILER_HAVE_X86_MMX)
121 endif(NOT DEFINED COMPILER_HAVE_X86_MMX)
123 if(NOT DEFINED COMPILER_HAVE_X86_SSE2)
124 check_cxx_source_compiles(" int main() { __asm__(\"xorpd %xmm0, %xmm0\"); }" COMPILER_HAVE_X86_SSE2)
125 endif(NOT DEFINED COMPILER_HAVE_X86_SSE2)
127 if(COMPILER_HAVE_X86_MMX)
128 list(APPEND tagua_SRC imageeffects_mmx.cpp)
129 set_source_files_properties(imageeffects_mmx.cpp PROPERTIES COMPILE_FLAGS -mmmx)
130 set_source_files_properties(imageeffects.cpp PROPERTIES COMPILE_FLAGS -DHAVE_X86_MMX)
131 endif(COMPILER_HAVE_X86_MMX)
133 if(COMPILER_HAVE_X86_SSE2)
134 list(APPEND tagua_SRC imageeffects_sse.cpp)
135 set_source_files_properties(imageeffects_sse.cpp PROPERTIES COMPILE_FLAGS -msse2)
136 set_source_files_properties(imageeffects.cpp PROPERTIES COMPILE_FLAGS -DHAVE_X86_SSE2)
137 endif(COMPILER_HAVE_X86_SSE2)
140 set(TAGUA_TARGET taguaprivate)
142 kde4_add_library(taguaprivate SHARED ${tagua_SRC})
143 kde4_add_executable(tagua main.cpp)
145 set(TAGUA_TARGET tagua)
146 kde4_add_executable(tagua main.cpp ${tagua_SRC})
149 add_subdirectory(core)
150 add_subdirectory(variants)
154 ${Boost_LIBRARY_DIRS}
155 ${CMAKE_BINARY_DIR}/lib
157 target_link_libraries(${TAGUA_TARGET}
170 target_link_libraries(tagua taguaprivate)
171 install(TARGETS taguaprivate DESTINATION ${LIB_INSTALL_DIR})
175 INSTALL(TARGETS tagua DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
176 install(FILES tagua.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
177 install(FILES taguaui.rc DESTINATION ${DATA_INSTALL_DIR}/tagua)