<commit_before>kde4_header()

include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}  )


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

set(kwrite_KDEINIT_SRCS kwritemain.cpp )

kde4_automoc(${kwrite_KDEINIT_SRCS})

kde4_add_kdeinit_executable( kwrite ${kwrite_KDEINIT_SRCS})

target_link_libraries(kdeinit_kwrite  ${KDE4_KDECORE_LIBS} ktexteditor kparts  ${QT_QT3SUPPORT_LIBRARY} kdeui ${QT_QTGUI_LIBRARY} DCOP kio)

install_targets(${LIB_INSTALL_DIR} kdeinit_kwrite )

target_link_libraries( kwrite kdeinit_kwrite )
install_targets(/bin kwrite )

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

install_files( ${XDG_APPS_DIR} FILES kwrite.desktop )
install_files( ${DATA_INSTALL_DIR}/kwrite FILES kwriteui.rc )<commit_msg>Use set(CMAKE_INCLUDE_CURRENT_DIR ON) in the toplevel CMakeLists.txt, and we don't need to include ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that].<commit_after>kde4_header()
include_directories(  ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )


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

set(kwrite_KDEINIT_SRCS kwritemain.cpp )

kde4_automoc(${kwrite_KDEINIT_SRCS})

kde4_add_kdeinit_executable( kwrite ${kwrite_KDEINIT_SRCS})

target_link_libraries(kdeinit_kwrite  ${KDE4_KDECORE_LIBS} ktexteditor kparts  ${QT_QT3SUPPORT_LIBRARY} kdeui ${QT_QTGUI_LIBRARY} DCOP kio)

install_targets(${LIB_INSTALL_DIR} kdeinit_kwrite )

target_link_libraries( kwrite kdeinit_kwrite )
install_targets(/bin kwrite )

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

install_files( ${XDG_APPS_DIR} FILES kwrite.desktop )
install_files( ${DATA_INSTALL_DIR}/kwrite FILES kwriteui.rc )
{'fraction_non_alphanumeric': 0.14245014245014245, 'fraction_numerical': 0.006837606837606838, 'mean_word_length': 9.51497005988024, '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': '3267567', 'n_tokens_mistral': 711, 'n_tokens_neox': 663, 'n_words': 107}