<commit_before>INCLUDE_DIRECTORIES(${Q${KITNAME}_INCLUDE_DIRS})
ADD_DEFINITIONS(${QT_DEFINITIONS})
FILE(GLOB FUNCTIONALITY_DIRS *)
LIST(REMOVE_ITEM FUNCTIONALITY_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/CVS" "${CMAKE_CURRENT_SOURCE_DIR}/.svn")
# SET(FUNCTIONALITY_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/QmitkDataManager ${CMAKE_CURRENT_SOURCE_DIR}/QmitkMovieMaker)

OPTION(BUILD_ALL_FUNCTIONALITIES "Build all functionalities (overriding selection)")
MARK_AS_ADVANCED(BUILD_ALL_FUNCTIONALITIES)

FOREACH(d ${FUNCTIONALITY_DIRS})
  IF(IS_DIRECTORY ${d})
  IF(EXISTS ${d}/CMakeLists.txt)
    MESSAGE(STATUS "Processing ${d}")
    ADD_SUBDIRECTORY(${d})
    # GET_DIRECTORY_PROPERTY(PROP DIRECTORY ${d} DEFINITION FUNC_NAME)
  ELSE(EXISTS ${d}/CMakeLists.txt)
    MESSAGE("Functionality dir ${d} doesn't contain a CMakeLists.txt file")
  ENDIF(EXISTS ${d}/CMakeLists.txt)
  ENDIF(IS_DIRECTORY ${d})
ENDFOREACH(d)<commit_msg>STYLE: obsolete comment removed<commit_after>INCLUDE_DIRECTORIES(${Q${KITNAME}_INCLUDE_DIRS})
ADD_DEFINITIONS(${QT_DEFINITIONS})
FILE(GLOB FUNCTIONALITY_DIRS *)
LIST(REMOVE_ITEM FUNCTIONALITY_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/CVS" "${CMAKE_CURRENT_SOURCE_DIR}/.svn")

OPTION(BUILD_ALL_FUNCTIONALITIES "Build all functionalities (overriding selection)")
MARK_AS_ADVANCED(BUILD_ALL_FUNCTIONALITIES)

FOREACH(d ${FUNCTIONALITY_DIRS})
  IF(IS_DIRECTORY ${d})
  IF(EXISTS ${d}/CMakeLists.txt)
    MESSAGE(STATUS "Processing ${d}")
    ADD_SUBDIRECTORY(${d})
    # GET_DIRECTORY_PROPERTY(PROP DIRECTORY ${d} DEFINITION FUNC_NAME)
  ELSE(EXISTS ${d}/CMakeLists.txt)
    MESSAGE("Functionality dir ${d} doesn't contain a CMakeLists.txt file")
  ENDIF(EXISTS ${d}/CMakeLists.txt)
  ENDIF(IS_DIRECTORY ${d})
ENDFOREACH(d)
{'fraction_non_alphanumeric': 0.1314717859220477, 'fraction_numerical': 0.0, 'mean_word_length': 8.662921348314606, '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': '2206479', 'n_tokens_mistral': 691, 'n_tokens_neox': 642, 'n_words': 95}