kde4_header()

include_directories( ${CMAKE_SOURCE_DIR}/kopete/protocols/yahoo/libkyahoo ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}  )

link_directories( ${CMAKE_CURRENT_BINARY_DIR}/../ )

########### next target ###############

set(clientstream_test_SRCS clientstream_test.cpp )

kde4_automoc(${clientstream_test_SRCS})

if(KDE4_BUILD_TESTS)

kde4_add_executable(clientstream_test ${clientstream_test_SRCS})

target_link_libraries(clientstream_test  ${KDE4_KDECORE_LIBS} kyahoo )

endif(KDE4_BUILD_TESTS)

########### install files ###############


kde4_footer()



#original Makefile.am contents follow:

#INCLUDES = -I$(top_srcdir)/kopete/protocols/yahoo/libkyahoo -I../ $(all_includes)
#METASOURCES = AUTO
#check_PROGRAMS = clientstream_test
#
#clientstream_test_SOURCES = clientstream_test.cpp
#clientstream_test_LDADD = $(LIB_QT) $(LIB_KDECORE) ../libkyahoo.la
#
##login_test_SOURCES = logintest.cpp
##login_test_LDADD = $(LIB_QT) $(LIB_KDECORE) ../libkyahoo.la

kde4_header()

if(KDE4_BUILD_TESTS)

include_directories( ${CMAKE_SOURCE_DIR}/kopete/protocols/yahoo/libkyahoo ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}  )

link_directories( ${CMAKE_CURRENT_BINARY_DIR}/../ )

########### next target ###############

set(clientstream_test_SRCS clientstream_test.cpp )

kde4_automoc(${clientstream_test_SRCS})

kde4_add_executable(clientstream_test RUN_UNINSTALLED ${clientstream_test_SRCS})

target_link_libraries(clientstream_test  ${KDE4_KDECORE_LIBS} kyahoo )

endif(KDE4_BUILD_TESTS)

kde4_footer()



#original Makefile.am contents follow:

#INCLUDES = -I$(top_srcdir)/kopete/protocols/yahoo/libkyahoo -I../ $(all_includes)
#METASOURCES = AUTO
#check_PROGRAMS = clientstream_test
#
#clientstream_test_SOURCES = clientstream_test.cpp
#clientstream_test_LDADD = $(LIB_QT) $(LIB_KDECORE) ../libkyahoo.la
#
##login_test_SOURCES = logintest.cpp
##login_test_LDADD = $(LIB_QT) $(LIB_KDECORE) ../libkyahoo.la

Make Yahoo tests run uninstalled (forgot to commit)
Make Yahoo tests run uninstalled (forgot to commit)

svn path=/trunk/KDE/kdenetwork/kopete/; revision=531965
