<commit_before>OPTION(ENABLE_QYOTO "build Qyoto" ON)
OPTION(ENABLE_QTSCRIPT_SHARP "build QtScript" ON)
OPTION(ENABLE_QTUITOOLS_SHARP "build QtUiTools" ON)
OPTION(ENABLE_QTWEBKIT_SHARP "build QtWebKit" ON)
OPTION(ENABLE_QSCINTILLA_SHARP "build QScintillaSharp" OFF)
OPTION(ENABLE_KHTML_SHARP "build KHTML" ON)
OPTION(ENABLE_KTEXTEDITOR_SHARP "build KTextEditor" ON)
OPTION(ENABLE_KIMONO "build Kimono" ON)

SET(QYOTO_ENABLED "no")
SET(QTSCRIPT_ENABLED "no")
SET(QTWEBKIT_ENABLED "no")
SET(QTUITOOLS_ENABLED "no")
SET(QTWEBKIT_ENABLED "no")
SET(QSCINTILLA_SHARP_ENABLED "no")
SET(AKONADI_ENABLED "no")
SET(KIMONO_ENABLED "no")
SET(KHTML_SHARP_ENABLED "no")
SET(KTEXTEDITOR_SHARP_ENABLED "no")

SET(KEYFILE ${CMAKE_CURRENT_SOURCE_DIR}/key.snk)

if(ENABLE_QYOTO)
    macro_optional_find_package (Mono)

    IF (NOT GMCS_EXECUTABLE)
        MESSAGE (STATUS "gmcs was not found on your system but is needed for Qyoto.")
    ENDIF (NOT GMCS_EXECUTABLE)

    IF (NOT GACUTIL_EXECUTABLE)
        MESSAGE (STATUS "gacutil was not found on your system but is needed for Qyoto.")
    ENDIF (NOT GACUTIL_EXECUTABLE)

    # following does check for mono-cecil which may packaged into an own package
    # depending on your distributor. cecil is needed within CSharpMacros.cmake for
    # the INSTALL_GAC macro. So, let's check here if cecil is available rather then
    # assuming it is and then break compile (happens e.g. on kubuntu 7.10).
    INCLUDE(FindPkgConfig)
    IF(NOT WIN32)
        PKG_SEARCH_MODULE(MONO_CECIL mono-cecil)
        PKG_SEARCH_MODULE(CECIL cecil)
        IF (NOT MONO_CECIL_FOUND AND NOT CECIL_FOUND)
            message("Failed to find mono-cecil needed by CSharp. Please install libmono-devel.")
        ELSE (NOT MONO_CECIL_FOUND AND NOT CECIL_FOUND)
            set(MONO_CECIL_FOUND "yes")
        ENDIF (NOT MONO_CECIL_FOUND AND NOT CECIL_FOUND)
    ELSE(NOT WIN32)
        set(MONO_CECIL_FOUND "yes")
    ENDIF(NOT WIN32)

    IF (GMCS_EXECUTABLE AND GACUTIL_EXECUTABLE AND MONO_CECIL_FOUND)
        add_subdirectory( qyoto )
        set(QYOTO_ENABLED "yes")
        SET( UICS_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/qyoto/tools/uics/uics )
        SET( CSRCC_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/qyoto/tools/csrcc/csrcc )

	IF(ENABLE_QTSCRIPT_SHARP)
		SET(QTSCRIPT_SHARP_ENABLED "yes")
		ADD_SUBDIRECTORY(qtscript)
	ENDIF(ENABLE_QTSCRIPT_SHARP)

	IF(ENABLE_QTUITOOLS_SHARP)
		SET(QTUITOOLS_SHARP_ENABLED "yes")
		ADD_SUBDIRECTORY(qtuitools)
	ENDIF(ENABLE_QTUITOOLS_SHARP)

	IF(ENABLE_QTWEBKIT_SHARP)
		SET(QTWEBKIT_SHARP_ENABLED "yes")
		ADD_SUBDIRECTORY(qtwebkit)
	ENDIF(ENABLE_QTWEBKIT_SHARP)

	IF(ENABLE_QSCINTILLA_SHARP AND QSCINTILLA_FOUND)
		FIND_PACKAGE(QScintilla REQUIRED)
		SET(QSCINTILLA_SHARP_ENABLED "yes")<commit_msg>* Move the *_EXECUTABLE variables to to the beginning of   CMakeLists.txt<commit_after>OPTION(ENABLE_QYOTO "build Qyoto" ON)
OPTION(ENABLE_QTSCRIPT_SHARP "build QtScript" ON)
OPTION(ENABLE_QTUITOOLS_SHARP "build QtUiTools" ON)
OPTION(ENABLE_QTWEBKIT_SHARP "build QtWebKit" ON)
OPTION(ENABLE_QSCINTILLA_SHARP "build QScintillaSharp" OFF)
OPTION(ENABLE_KHTML_SHARP "build KHTML" ON)
OPTION(ENABLE_KTEXTEDITOR_SHARP "build KTextEditor" ON)
OPTION(ENABLE_KIMONO "build Kimono" ON)

SET(QYOTO_ENABLED "no")
SET(QTSCRIPT_ENABLED "no")
SET(QTWEBKIT_ENABLED "no")
SET(QTUITOOLS_ENABLED "no")
SET(QTWEBKIT_ENABLED "no")
SET(QSCINTILLA_SHARP_ENABLED "no")
SET(AKONADI_ENABLED "no")
SET(KIMONO_ENABLED "no")
SET(KHTML_SHARP_ENABLED "no")
SET(KTEXTEDITOR_SHARP_ENABLED "no")

SET(KEYFILE ${CMAKE_CURRENT_SOURCE_DIR}/key.snk)
SET( UICS_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/qyoto/tools/uics/uics )
SET( CSRCC_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/qyoto/tools/csrcc/csrcc )

if(ENABLE_QYOTO)
    macro_optional_find_package (Mono)

    IF (NOT GMCS_EXECUTABLE)
        MESSAGE (STATUS "gmcs was not found on your system but is needed for Qyoto.")
    ENDIF (NOT GMCS_EXECUTABLE)

    IF (NOT GACUTIL_EXECUTABLE)
        MESSAGE (STATUS "gacutil was not found on your system but is needed for Qyoto.")
    ENDIF (NOT GACUTIL_EXECUTABLE)

    # following does check for mono-cecil which may packaged into an own package
    # depending on your distributor. cecil is needed within CSharpMacros.cmake for
    # the INSTALL_GAC macro. So, let's check here if cecil is available rather then
    # assuming it is and then break compile (happens e.g. on kubuntu 7.10).
    INCLUDE(FindPkgConfig)
    IF(NOT WIN32)
        PKG_SEARCH_MODULE(MONO_CECIL mono-cecil)
        PKG_SEARCH_MODULE(CECIL cecil)
        IF (NOT MONO_CECIL_FOUND AND NOT CECIL_FOUND)
            message("Failed to find mono-cecil needed by CSharp. Please install libmono-devel.")
        ELSE (NOT MONO_CECIL_FOUND AND NOT CECIL_FOUND)
            set(MONO_CECIL_FOUND "yes")
        ENDIF (NOT MONO_CECIL_FOUND AND NOT CECIL_FOUND)
    ELSE(NOT WIN32)
        set(MONO_CECIL_FOUND "yes")
    ENDIF(NOT WIN32)

    IF (GMCS_EXECUTABLE AND GACUTIL_EXECUTABLE AND MONO_CECIL_FOUND)
        add_subdirectory( qyoto )
        set(QYOTO_ENABLED "yes")

	IF(ENABLE_QTSCRIPT_SHARP)
		SET(QTSCRIPT_SHARP_ENABLED "yes")
		ADD_SUBDIRECTORY(qtscript)
	ENDIF(ENABLE_QTSCRIPT_SHARP)

	IF(ENABLE_QTUITOOLS_SHARP)
		SET(QTUITOOLS_SHARP_ENABLED "yes")
		ADD_SUBDIRECTORY(qtuitools)
	ENDIF(ENABLE_QTUITOOLS_SHARP)

	IF(ENABLE_QTWEBKIT_SHARP)
		SET(QTWEBKIT_SHARP_ENABLED "yes")
		ADD_SUBDIRECTORY(qtwebkit)
	ENDIF(ENABLE_QTWEBKIT_SHARP)

	IF(ENABLE_QSCINTILLA_SHARP AND QSCINTILLA_FOUND)
		FIND_PACKAGE(QScintilla REQUIRED)
		SET(QSCINTILLA_SHARP_ENABLED "yes")
{'fraction_non_alphanumeric': 0.07945945945945945, 'fraction_numerical': 0.003243243243243243, 'mean_word_length': 4.968817204301075, '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': '1593399', 'n_tokens_mistral': 2371, 'n_tokens_neox': 2236, 'n_words': 459}