File: CMakeLists.txt

package info (click to toggle)
tagua 1.0~alpha2-15
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 8,028 kB
  • ctags: 7,178
  • sloc: cpp: 26,149; ansic: 13,039; makefile: 182; ruby: 87; sh: 39
file content (31 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
set(main_dir "../../src")

SET(hl_SRC
  ../cppunit_main.cpp
  boardtest.cpp
  chesspiecetest.cpp
  chessgamestatetest.cpp
  chessmovetest.cpp
  chesslegalitytest.cpp
  chesswrappedtest.cpp
  chessserializationtest.cpp
  pooltest.cpp
  shogideserializationtest.cpp
)

add_definitions(
  -DUSE_UNSTABLE_LIBKDEGAMESPRIVATE_API
)

include_directories(
  ${KDE4_INCLUDES}
  ${Boost_INCLUDE_DIRS}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/${main_dir}
  /usr/include/libkdegamesprivate/
)

add_executable(hl_test ${hl_SRC})
target_link_libraries(hl_test taguaprivate ${CPPUNIT_LIBRARIES})

add_test(hl hl_test)