<commit_before>find_package(OpenMP)
if (OPENMP_FOUND)
  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()

add_subdirectory(renderer)
add_subdirectory(geometry)
add_subdirectory(utils)

set(SOURCES ${SOURCES})
set(HEADERS ${HEADERS} ../include/spica.h)

add_library(spica_renderer SHARED ${SOURCES} ${HEADERS})<commit_msg>OpenMP is enabled only for MSVC.<commit_after>if(MSVC)
  find_package(OpenMP)
  if (OPENMP_FOUND)
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
  endif()
endif()

add_subdirectory(renderer)
add_subdirectory(geometry)
add_subdirectory(utils)

set(SOURCES ${SOURCES})
set(HEADERS ${HEADERS} ../include/spica.h)

add_library(spica_renderer SHARED ${SOURCES} ${HEADERS})
{'fraction_non_alphanumeric': 0.1430260047281324, 'fraction_numerical': 0.0, 'mean_word_length': 8.964705882352941, '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': '6915769', 'n_tokens_mistral': 353, 'n_tokens_neox': 331, 'n_words': 50}