<commit_before>#
# src/imaging/test/CMakeLists.txt
#

if (CUDA_FOUND)
    set(name imaging_test)
    include_directories(${PROJECT_SOURCE_DIR}/extern/gtest-1.6.0/include)
    set(${name}_SRC
        main.cpp
        Test_make_image.cpp
    )
    add_executable(${name} ${${name}_SRC})
    target_link_libraries(${name} oskar gtest)
    if(CFITSIO_FOUND)
        target_link_libraries(${name} oskar_fits)
    endif()
    set_target_properties(${name} PROPERTIES
        COMPILE_FLAGS "${OpenMP_CXX_FLAGS}"
        LINK_FLAGS "${OpenMP_CXX_FLAGS}")
    add_test(imaging_test ${name})
endif()<commit_msg>Added missing CUDA include directory for test.<commit_after>#
# src/imaging/test/CMakeLists.txt
#

if (CUDA_FOUND)
    set(name imaging_test)
    include_directories(${PROJECT_SOURCE_DIR}/extern/gtest-1.6.0/include)
    include_directories(${CUDA_INCLUDE_DIRS})
    set(${name}_SRC
        main.cpp
        Test_make_image.cpp
    )
    add_executable(${name} ${${name}_SRC})
    target_link_libraries(${name} oskar gtest)
    if(CFITSIO_FOUND)
        target_link_libraries(${name} oskar_fits)
    endif()
    set_target_properties(${name} PROPERTIES
        COMPILE_FLAGS "${OpenMP_CXX_FLAGS}"
        LINK_FLAGS "${OpenMP_CXX_FLAGS}")
    add_test(imaging_test ${name})
endif()
{'fraction_non_alphanumeric': 0.12802498048399688, 'fraction_numerical': 0.00468384074941452, 'mean_word_length': 3.9498069498069497, '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': '4909358', 'n_tokens_mistral': 487, 'n_tokens_neox': 467, 'n_words': 62}