<commit_before>QT5_WRAP_UI(UI_HEADERS gazergui.ui)

SET(GAZETOOL_SRC
    main.cpp
    imageprovider.cpp
    faceparts.cpp
    pupilfinder.cpp
    eyelidlearner.cpp
    mutualgazelearner.cpp
    relativeeyelidlearner.cpp
    relativegazelearner.cpp
    verticalgazelearner.cpp
    facedetectionworker.cpp
    shapedetectionworker.cpp
    gazehyps.cpp
    regressionworker.cpp
    gazergui.cpp
    glimageview.cpp
    workerthread.cpp
    eyepatcher.cpp
    featureextractor.cpp
    abstractlearner.cpp
    rlssmoother.cpp
    ${UI_HEADERS}
    blockingqueue.h
)


IF(ENABLE_YARP_SUPPORT)
    ADD_DEFINITIONS(-DENABLE_YARP_SUPPORT)
    SET(DLIBGAZER_SRC ${GAZETOOL_SRC} yarpsupport.cpp)
ENDIF()

ADD_EXECUTABLE(gazetool ${GAZETOOL_SRC})
ADD_DEPENDENCIES(gazetool ${UI_HEADERS})
TARGET_LINK_LIBRARIES(gazetool GL ${Boost_LIBRARIES} ${YARP_LIBRARIES} ${OpenCV_LIBS} ${dlib_LIBRARIES})
qt5_use_modules(gazetool Core Widgets Gui OpenGL)

INSTALL(TARGETS gazetool
  RUNTIME DESTINATION bin
)<commit_msg>yarp CMakeLists inclusion fix<commit_after>QT5_WRAP_UI(UI_HEADERS gazergui.ui)

SET(GAZETOOL_SRC
    main.cpp
    imageprovider.cpp
    faceparts.cpp
    pupilfinder.cpp
    eyelidlearner.cpp
    mutualgazelearner.cpp
    relativeeyelidlearner.cpp
    relativegazelearner.cpp
    verticalgazelearner.cpp
    facedetectionworker.cpp
    shapedetectionworker.cpp
    gazehyps.cpp
    regressionworker.cpp
    gazergui.cpp
    glimageview.cpp
    workerthread.cpp
    eyepatcher.cpp
    featureextractor.cpp
    abstractlearner.cpp
    rlssmoother.cpp
    ${UI_HEADERS}
    blockingqueue.h
)


IF(ENABLE_YARP_SUPPORT)
    ADD_DEFINITIONS(-DENABLE_YARP_SUPPORT)
    SET(GAZETOOL_SRC ${GAZETOOL_SRC} yarpsupport.cpp)
ENDIF()

ADD_EXECUTABLE(gazetool ${GAZETOOL_SRC})
ADD_DEPENDENCIES(gazetool ${UI_HEADERS})
TARGET_LINK_LIBRARIES(gazetool GL ${Boost_LIBRARIES} ${YARP_LIBRARIES} ${OpenCV_LIBS} ${dlib_LIBRARIES})
qt5_use_modules(gazetool Core Widgets Gui OpenGL)

INSTALL(TARGETS gazetool
  RUNTIME DESTINATION bin
)
{'fraction_non_alphanumeric': 0.07274539113104135, 'fraction_numerical': 0.001993024414549078, 'mean_word_length': 4.54696132596685, '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': '6299901', 'n_tokens_mistral': 810, 'n_tokens_neox': 795, 'n_words': 105}