blob: ac4768911cb5ad20f5bb9accd3c601f871886cd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
include_directories(
${CMAKE_CURRENT_BINARY_DIR})
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/_gen")
tpqt4_generate_moc_i(test.h ${CMAKE_CURRENT_BINARY_DIR}/_gen/test.h.moc.hpp)
add_library(tp-qt4-tests test.cpp ${CMAKE_CURRENT_BINARY_DIR}/_gen/test.h.moc.hpp)
target_link_libraries(tp-qt4-tests ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} telepathy-qt4)
if(ENABLE_TP_GLIB_TESTS)
add_subdirectory(glib)
add_subdirectory(glib-helpers)
endif(ENABLE_TP_GLIB_TESTS)
|