Preliminary port of Shogi to the component API.
[tagua/yd.git] / src / variants / shogi / CMakeLists.txt
blobac156b50d48e0b03a24ed138fd03af87cdeb54f0
1 set(taguashogi_SRCS
2   shogi.cpp
4   types/king.cpp
5   types/gold.cpp
6   types/silver.cpp
7   types/knight.cpp
8   types/lance.cpp
9   types/pawn.cpp
10   types/rook.cpp
11   types/bishop.cpp
13   types/narigin.cpp
14   types/narikei.cpp
15   types/narikyo.cpp
16   types/tokin.cpp
17   types/dragonking.cpp
18   types/dragonhorse.cpp
20   behaviour.cpp
21   colors.cpp
22   moveserializer.cpp
23 #  san.cpp
24   state.cpp
25   type.cpp
26   validator.cpp
29 include_directories(${CMAKE_SOURCE_DIR}/src/)
31 if(MONOLITH)
32 kde4_add_library(taguashogi SHARED ${taguashogi_SRCS})
33 else(MONOLITH)
34 kde4_add_plugin(taguashogi ${taguashogi_SRCS})
35 endif(MONOLITH)
37 target_link_libraries(taguashogi
38   taguacore
39   ${KDE4_KDECORE_LIBS}
42 install(TARGETS taguashogi DESTINATION ${PLUGIN_INSTALL_DIR})
43 install(FILES tagua-shogi.desktop DESTINATION ${SERVICES_INSTALL_DIR})