<commit_before>

#add_subdirectory( ui ) 
add_subdirectory( icons ) 

message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}: skipped subdir $(WEBCAM)")
include_directories( 
${KOPETE_INCLUDES} 
${CMAKE_CURRENT_BINARY_DIR}/ui/ 
${CMAKE_CURRENT_SOURCE_DIR}/ui/ 
)


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

set(kopete_msn_PART_SRCS ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp webcam.cpp )


file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "//autogenerated file by cmake\n#include \"kdemacros.h\"\nextern \"C\" KDE_EXPORT void *init_libkopete_msn_shared();\nextern \"C\" KDE_EXPORT void *init_kopete_msn() { return init_libkopete_msn_shared(); }\n\n")
kde4_add_plugin(kopete_msn ${kopete_msn_PART_SRCS})


target_link_libraries(kopete_msn  ${KDE4_KDECORE_LIBS} kopete_msn_shared )

install(TARGETS kopete_msn  DESTINATION ${PLUGIN_INSTALL_DIR})


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

set(kopete_msn_ui_SRCS ui/msneditaccountwidget.cpp)

kde4_add_ui_files(kopete_msn_ui_SRCS 
   ui/msnadd.ui 
   ui/msndebugrawcommand_base.ui 
   ui/msninfo.ui 
   ui/msneditaccountui.ui
)

set(kopete_msn_shared_LIB_SRCS 
   ${kopete_msn_ui_SRCS}
   msnprotocol.cpp 
   msnaccount.cpp 
   msnaddcontactpage.cpp 
   msncontact.cpp 
   msnsocket.cpp 
   msnchatsession.cpp 
   msndebugrawcmddlg.cpp 
   msnnotifysocket.cpp 
   msnswitchboardsocket.cpp 
   msnfiletransfersocket.cpp 
   msninvitation.cpp 
   sha1.cpp 
   msnsecureloginhandler.cpp 
   msnchallengehandler.cpp 
   dispatcher.cpp 
   p2p.cpp 
   messageformatter.cpp 
   incomingtransfer.cpp 
   outgoingtransfer.cpp 
)

kde4_add_library(kopete_msn_shared SHARED ${kopete_msn_shared_LIB_SRCS})

if(WIN32)
  target_link_libraries(kopete_msn_shared  ${KDE4_KIO_LIBS} kopete)
else(WIN32)
  target_link_libraries(kopete_msn_shared  ${KDE4_KIO_LIBS} kopete kopete_videodevice)
endif(WIN32)

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


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

install( FILES kopete_msn.desktop  DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES msnchatui.rc  DESTINATION ${DATA_INSTALL_DIR}/kopete_msn)




<commit_msg>SVN_SILENT: Remove sha1.cpp from CMakeLists.txt<commit_after>

#add_subdirectory( ui ) 
add_subdirectory( icons ) 

message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}: skipped subdir $(WEBCAM)")
include_directories( 
${KOPETE_INCLUDES} 
${CMAKE_CURRENT_BINARY_DIR}/ui/ 
${CMAKE_CURRENT_SOURCE_DIR}/ui/ 
)


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

set(kopete_msn_PART_SRCS ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp webcam.cpp )


file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "//autogenerated file by cmake\n#include \"kdemacros.h\"\nextern \"C\" KDE_EXPORT void *init_libkopete_msn_shared();\nextern \"C\" KDE_EXPORT void *init_kopete_msn() { return init_libkopete_msn_shared(); }\n\n")
kde4_add_plugin(kopete_msn ${kopete_msn_PART_SRCS})


target_link_libraries(kopete_msn  ${KDE4_KDECORE_LIBS} kopete_msn_shared )

install(TARGETS kopete_msn  DESTINATION ${PLUGIN_INSTALL_DIR})


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

set(kopete_msn_ui_SRCS ui/msneditaccountwidget.cpp)

kde4_add_ui_files(kopete_msn_ui_SRCS 
   ui/msnadd.ui 
   ui/msndebugrawcommand_base.ui 
   ui/msninfo.ui 
   ui/msneditaccountui.ui
)

set(kopete_msn_shared_LIB_SRCS 
   ${kopete_msn_ui_SRCS}
   msnprotocol.cpp 
   msnaccount.cpp 
   msnaddcontactpage.cpp 
   msncontact.cpp 
   msnsocket.cpp 
   msnchatsession.cpp 
   msndebugrawcmddlg.cpp 
   msnnotifysocket.cpp 
   msnswitchboardsocket.cpp 
   msnfiletransfersocket.cpp 
   msninvitation.cpp 
   msnsecureloginhandler.cpp 
   msnchallengehandler.cpp 
   dispatcher.cpp 
   p2p.cpp 
   messageformatter.cpp 
   incomingtransfer.cpp 
   outgoingtransfer.cpp 
)

kde4_add_library(kopete_msn_shared SHARED ${kopete_msn_shared_LIB_SRCS})

if(WIN32)
  target_link_libraries(kopete_msn_shared  ${KDE4_KIO_LIBS} kopete)
else(WIN32)
  target_link_libraries(kopete_msn_shared  ${KDE4_KIO_LIBS} kopete kopete_videodevice)
endif(WIN32)

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


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

install( FILES kopete_msn.desktop  DESTINATION ${SERVICES_INSTALL_DIR})
install( FILES msnchatui.rc  DESTINATION ${DATA_INSTALL_DIR}/kopete_msn)





{'fraction_non_alphanumeric': 0.11849515656679432, 'fraction_numerical': 0.0063077269655327775, 'mean_word_length': 5.948356807511737, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2824742', 'n_tokens_mistral': 1898, 'n_tokens_neox': 1800, 'n_words': 225}