project(emailfunctions)
add_subdirectory( tests )

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

set(emailfunctions_LIB_SRCS
   email.cpp)

kde4_automoc(${emailfunctions_LIB_SRCS})

kde4_add_library(emailfunctions SHARED ${emailfunctions_LIB_SRCS})

target_link_libraries(emailfunctions ${KDE4_KDECORE_LIBS})

set_target_properties(emailfunctions PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS emailfunctions  DESTINATION ${LIB_INSTALL_DIR} )

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

install( FILES emailfunctions.h email.h DESTINATION ${INCLUDE_INSTALL_DIR}/emailfunctions  )
