<commit_before>find_package(Qt5 REQUIRED Core Gui Widgets OpenGL)

if(ANDROID)
    add_definitions(-DOPENGL_ES)
endif()

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set( augmentation_SOURCES ${SRC_DIR}/augmentation_widget.cpp ${SRC_DIR}/model_loader.cpp)
set( augmentation_HEADERS ${INCLUDE_DIR}/augmentation_widget.hpp ${INCLUDE_DIR}/model_loader.hpp)
qt5_wrap_cpp(augmentation_MOC ${augmentation_HEADERS})

add_library( augmentation ${augmentation_SOURCES}  ${augmentation_MOC} )
if(ANDROID)
    target_link_libraries( augmentation ${QT_LIBRARIES} GLESv1_CM )
else()
    target_link_libraries( augmentation ${QT_LIBRARIES} GL)
endif()
target_include_directories ( augmentation PUBLIC ${INCLUDE_DIR} )

qt5_use_modules( augmentation Core Gui Widgets OpenGL )
<commit_msg>add c++11 compile options<commit_after>find_package(Qt5 REQUIRED Core Gui Widgets OpenGL)

if(ANDROID)
    add_definitions(-DOPENGL_ES)
endif()

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set( augmentation_SOURCES ${SRC_DIR}/augmentation_widget.cpp ${SRC_DIR}/model_loader.cpp)
set( augmentation_HEADERS ${INCLUDE_DIR}/augmentation_widget.hpp ${INCLUDE_DIR}/model_loader.hpp)
qt5_wrap_cpp(augmentation_MOC ${augmentation_HEADERS})

add_library( augmentation ${augmentation_SOURCES}  ${augmentation_MOC} )
if(ANDROID)
    target_link_libraries( augmentation ${QT_LIBRARIES} GLESv1_CM )
else()
    target_link_libraries( augmentation ${QT_LIBRARIES} GL)
endif()
target_include_directories ( augmentation PUBLIC ${INCLUDE_DIR} )

qt5_use_modules( augmentation Core Gui Widgets OpenGL )

target_compile_options(augmentation PRIVATE -std=c++11 -Wall -Wextra)

{'fraction_non_alphanumeric': 0.09819763828464885, 'fraction_numerical': 0.0074580484773151025, 'mean_word_length': 8.52662721893491, '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': '4645503', 'n_tokens_mistral': 612, 'n_tokens_neox': 546, 'n_words': 100}