<commit_before>########################################################################
# CMake build script for Google Test.

# The code must be relocatable if we want to link a shared library against it.
if("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xGNU" OR "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xClang")
    add_compile_options(-fPIC)
endif()<commit_msg>Try to fix compilation of gtest with MSVC<commit_after>########################################################################
# CMake build script for Google Test.

# The code must be relocatable if we want to link a shared library against it.
if("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xGNU" OR "x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xClang")
    add_compile_options(-fPIC)
endif()

if(WIN32)
    # MSVC2012 has some troubles with the way gtest use the STL, this preprocessor macro fix this issue
    add_definitions("-D_VARIADIC_MAX=10")
endif()
{'fraction_non_alphanumeric': 0.23581757508342602, 'fraction_numerical': 0.008898776418242492, 'mean_word_length': 6.563025210084033, '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': '4598181', 'n_tokens_mistral': 293, 'n_tokens_neox': 270, 'n_words': 88}