summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
blob: 0d28c44197b9f04d26b472bb36ba7ae34d31fa98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
project(sphinxtabletest)

# TODO
set(sphinxtabletest_SRC sphinxtabletest.cpp)
qt4_automoc(${sphinxtabletest_SRC})

include_directories(${QT_INCLUDE_DIR}
                    ${QT_QTCORE_INCLUDE_DIR}
                    ${CMAKE_CURRENT_BINARY_DIR}
                    ${qtdoc_generator_SOURCE_DIR})

add_executable(sphinxtabletest ${sphinxtabletest_SRC})

target_link_libraries(sphinxtabletest
                      ${QT_QTTEST_LIBRARY}
                      ${APIEXTRACTOR_LIBRARY}
                      qtdoc_generator
                      genrunner)

add_test("sphinxtable" sphinxtabletest)