<commit_before>FILE(GLOB CPPSOURCES *.cpp *.h *.ver)

add_library(common STATIC ${CPPSOURCES})

target_link_libraries(common jsoncpp)
target_link_libraries(common curlpp)

target_include_directories(common PUBLIC ..)

if(CMAKE_COMPILER_IS_GNUCXX)
	target_compile_definitions(common PUBLIC -D_GLIBCXX_USE_NANOSLEEP)
endif()

# target_compile_features(common PUBLIC cxx_nonstatic_member_init)
# target_compile_features(common PUBLIC cxx_auto_type)
set_property(TARGET common PROPERTY CXX_STANDARD 11)<commit_msg>changes for gcc compatibility<commit_after>FILE(GLOB CPPSOURCES *.cpp *.h *.ver)

add_library(common STATIC ${CPPSOURCES})

target_link_libraries(common jsoncpp)
target_link_libraries(common curlpp)

target_include_directories(common PUBLIC ..)

if(CMAKE_COMPILER_IS_GNUCXX)
	target_compile_definitions(common PUBLIC -D_GLIBCXX_USE_NANOSLEEP)
endif()

# target_compile_features(common PUBLIC cxx_nonstatic_member_init)
# target_compile_features(common PUBLIC cxx_auto_type)
set_property(TARGET common PROPERTY CXX_STANDARD 11)

if(CMAKE_COMPILER_IS_GNUCXX)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -D_GLIBCXX_USE_NANOSLEEP ")
endif()
{'fraction_non_alphanumeric': 0.07899305555555555, 'fraction_numerical': 0.003472222222222222, 'mean_word_length': 10.194174757281553, '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': '3483893', 'n_tokens_mistral': 460, 'n_tokens_neox': 401, 'n_words': 68}