<commit_before>set(TARGETNAME Go_Controller)

# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)

# Find the Qt libraries
find_package(Qt5OpenGL REQUIRED)
# WARNING: commented out the _qt5gui_find_extra_libs command in ${QT_PLUGIN_PATH}/../lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake
#          to make it configure, don't know if that spawns any problems later. The project builds, so whatever...
find_package(Qt5Widgets REQUIRED)
find_package(Qt53D REQUIRED)

# for having access to compiled Qt Designer files (e.g. ui_GUI.h)
include_directories(${CMAKE_CURRENT_BINARY_DIR})

SET(augmented_reality_SOURCE
    BackendWorker.cpp
    main.cpp
)

SET(augmented_reality_HEADERS
    BackendWorker.hpp
)

wrap_gui_ui_files(ui_GUI ui_NewGameDialog)

add_executable (${TARGETNAME} ${augmented_reality_SOURCE} ${augmented_reality_HEADERS} ${ui_GUI} ${ui_NewGameDialog})

add_fuego_to_target(${TARGETNAME})
add_scanner_to_target(${TARGETNAME})
add_backend_to_target(${TARGETNAME})
add_opencv_to_target(${TARGETNAME})
add_gui_to_target(${TARGETNAME})

configure_target(${TARGETNAME})<commit_msg>[closes #105] The built executable is now named "augmented_go[postfix].exe"<commit_after>set(TARGETNAME Go_Controller)

# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)

# Find the Qt libraries
find_package(Qt5OpenGL REQUIRED)
# WARNING: commented out the _qt5gui_find_extra_libs command in ${QT_PLUGIN_PATH}/../lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake
#          to make it configure, don't know if that spawns any problems later. The project builds, so whatever...
find_package(Qt5Widgets REQUIRED)
find_package(Qt53D REQUIRED)

# for having access to compiled Qt Designer files (e.g. ui_GUI.h)
include_directories(${CMAKE_CURRENT_BINARY_DIR})

SET(augmented_reality_SOURCE
    BackendWorker.cpp
    main.cpp
)

SET(augmented_reality_HEADERS
    BackendWorker.hpp
)

wrap_gui_ui_files(ui_GUI ui_NewGameDialog)

add_executable (${TARGETNAME} ${augmented_reality_SOURCE} ${augmented_reality_HEADERS} ${ui_GUI} ${ui_NewGameDialog})

add_fuego_to_target(${TARGETNAME})
add_scanner_to_target(${TARGETNAME})
add_backend_to_target(${TARGETNAME})
add_opencv_to_target(${TARGETNAME})
add_gui_to_target(${TARGETNAME})

set_target_properties(${TARGETNAME} PROPERTIES OUTPUT_NAME "augmented_go")
configure_target(${TARGETNAME})
{'fraction_non_alphanumeric': 0.09069306930693069, 'fraction_numerical': 0.006732673267326733, 'mean_word_length': 7.533783783783784, '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': '332089', 'n_tokens_mistral': 905, 'n_tokens_neox': 863, 'n_words': 181}