<commit_before># --------------------------------------------
# Copyright KAPSARC. Open source MIT License.
# --------------------------------------------

#--------------------------------------
# macros related to list
MACRO(CAR var)
SET(${var} ${ARGV1})
ENDMACRO(CAR)

MACRO(CDR var junk)
SET(${var} ${ARGN})
ENDMACRO(CDR)

MACRO(LIST_INDEX var index)
SET(list . ${ARGN})
FOREACH(i RANGE 1 ${index})
CDR(list ${list})
ENDFOREACH(i)
CAR(${var} ${list})
ENDMACRO(LIST_INDEX)

#--------------------------------------
# to find Qt Root Directory

MACRO(SUBDIRLIST result curdir)

FILE(GLOB children RELATIVE ${curdir} ${curdir}/*)

SET(dirlist "")

FOREACH(child ${children})
if(IS_DIRECTORY ${curdir}/${child})
  string(REGEX MATCH "^Qt([0-9].)*.*" QTVER ${child}) # RE to match Qt5.6.0 or Qt or any Qt Version<commit_msg>Comment out line interrupting OS X compilation.<commit_after># --------------------------------------------
# Copyright KAPSARC. Open source MIT License.
# --------------------------------------------

#--------------------------------------
# macros related to list
MACRO(CAR var)
SET(${var} ${ARGV1})
ENDMACRO(CAR)

MACRO(CDR var junk)
SET(${var} ${ARGN})
ENDMACRO(CDR)

MACRO(LIST_INDEX var index)
SET(list . ${ARGN})
FOREACH(i RANGE 1 ${index})
#CDR(list ${list})
ENDFOREACH(i)
CAR(${var} ${list})
ENDMACRO(LIST_INDEX)

#--------------------------------------
# to find Qt Root Directory

MACRO(SUBDIRLIST result curdir)

FILE(GLOB children RELATIVE ${curdir} ${curdir}/*)

SET(dirlist "")

FOREACH(child ${children})
if(IS_DIRECTORY ${curdir}/${child})
  string(REGEX MATCH "^Qt([0-9].)*.*" QTVER ${child}) # RE to match Qt5.6.0 or Qt or any Qt Version
{'fraction_non_alphanumeric': 0.334723049434187, 'fraction_numerical': 0.008338296605122097, 'mean_word_length': 2.1343283582089554, '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': '4020752', 'n_tokens_mistral': 561, 'n_tokens_neox': 540, 'n_words': 145}