<commit_before>cmake_minimum_required(VERSION 2.8)

option(GAINPUT_SAMPLES "Build Samples for Gainput" OFF)
option(GAINPUT_TESTS "Build Tests for Gainput" OFF)
if(!WIN32)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
else()
	set(XINPUT "Xinput9_1_0")
	if ( ${CMAKE_SYSTEM_VERSION} LESS 6.1 )
		set(XINPUT, "xinput")
	endif()
endif()

if(ANDROID)
	include(extern/cmake/AndroidNdkModules.cmake)
	android_ndk_import_module_native_app_glue()
endif()

add_subdirectory(lib)
if(GAINPUT_SAMPLES)
add_subdirectory(samples)
endif()
if(GAINPUT_TESTS)
add_subdirectory(test)
endif()
<commit_msg>Update CMakeLists.txt<commit_after>cmake_minimum_required(VERSION 2.8)

option(GAINPUT_SAMPLES "Build Samples for Gainput" ON)
option(GAINPUT_TESTS "Build Tests for Gainput" ON)
if(!WIN32)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
else()
	set(XINPUT "Xinput9_1_0")
	if ( ${CMAKE_SYSTEM_VERSION} LESS 6.1 )
		set(XINPUT, "xinput")
	endif()
endif()

if(ANDROID)
	include(extern/cmake/AndroidNdkModules.cmake)
	android_ndk_import_module_native_app_glue()
endif()

add_subdirectory(lib)
if(GAINPUT_SAMPLES)
add_subdirectory(samples)
endif()
if(GAINPUT_TESTS)
add_subdirectory(test)
endif()

{'fraction_non_alphanumeric': 0.12088815789473684, 'fraction_numerical': 0.014802631578947368, 'mean_word_length': 8.434108527131784, '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': '861601', 'n_tokens_mistral': 511, 'n_tokens_neox': 493, 'n_words': 85}