<commit_before>###
# Build a separate static library for image acquisition
###
set(SOURCES
    CVImageSource.cpp
    DK2ImageSource.cpp
    ImageSource.cpp
    ImageSource.h
    ImageSourceFactories.h
    FakeImageSource.cpp
    Oculus_DK2.cpp
    Oculus_DK2.h)
if(WIN32)
    list(APPEND SOURCES
        DirectShowHDKCameraFactory.h
        DirectShowImageSource.cpp
        DirectShowToCV.h)
endif()
add_library(uvbi-image-sources STATIC ${SOURCES})

set_target_properties(uvbi-image-sources PROPERTIES
    FOLDER "${PROJ_FOLDER}")

#target_include_directories(uvbi-image-sources INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR})

target_link_libraries(uvbi-image-sources PUBLIC
    opencv_core
    opencv_highgui
    ${VIDEOTRACKER_EXTRA_LIBS})
if(WIN32)
    target_link_libraries(uvbi-image-sources PUBLIC directshow-camera)
endif()
<commit_msg>Make sure ImageSources library is marked as C++11<commit_after>###
# Build a separate static library for image acquisition
###
set(SOURCES
    CVImageSource.cpp
    DK2ImageSource.cpp
    ImageSource.cpp
    ImageSource.h
    ImageSourceFactories.h
    FakeImageSource.cpp
    Oculus_DK2.cpp
    Oculus_DK2.h)
if(WIN32)
    list(APPEND SOURCES
        DirectShowHDKCameraFactory.h
        DirectShowImageSource.cpp
        DirectShowToCV.h)
endif()
add_library(uvbi-image-sources STATIC ${SOURCES})
target_compile_options(uvbi-image-sources
    PUBLIC
    ${OSVR_CXX11_FLAGS})

set_target_properties(uvbi-image-sources PROPERTIES
    FOLDER "${PROJ_FOLDER}")

#target_include_directories(uvbi-image-sources INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR})

target_link_libraries(uvbi-image-sources PUBLIC
    opencv_core
    opencv_highgui
    ${VIDEOTRACKER_EXTRA_LIBS})
if(WIN32)
    target_link_libraries(uvbi-image-sources PUBLIC directshow-camera)
endif()

{'fraction_non_alphanumeric': 0.08388157894736842, 'fraction_numerical': 0.009868421052631578, 'mean_word_length': 4.615384615384615, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1087329', 'n_tokens_mistral': 661, 'n_tokens_neox': 620, 'n_words': 100}