<commit_before>
# Require minimum standard version of CMake
cmake_minimum_required (VERSION 3.10)

# Add C# utilities for building tools
include(CSharpUtilities)

# Set project name
project(Jinx)

# Build a test or utility executable
function(jinx_build_executable project_name source_list is_linked is_startup requires_pthreads)

	# Create executable as project name
	add_executable(${project_name} ${source_list})

	# Set C++ 17 compiler flags
	set(CMAKE_CXX_STANDARD 17)
	set(CMAKE_CXX_STANDARD_REQUIRED ON)
	set(CMAKE_CXX_EXTENSIONS OFF)
	
	# Set the executable as the default startup project
	if(is_startup)
		set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${project_name})
	endif()
	
	# Add Jinx library
	if(is_linked)
		target_link_libraries(${project_name} Jinx)
	endif()
	
	# Add pthreads
	if(requires_pthreads AND UNIX AND NOT APPLE)
		set(THREADS_PREFER_PTHREAD_FLAG ON)
		find_package(Threads REQUIRED)
		target_link_libraries(${project_name} Threads::Threads)
	endif()

	# Create IDE folder structure
	source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" PREFIX "Source" FILES ${source_list})

<commit_msg>Fix issue with IDE folder generation<commit_after>
# Require minimum standard version of CMake
cmake_minimum_required (VERSION 3.10)

# Add C# utilities for building tools
include(CSharpUtilities)

# Set project name
project(Jinx)

# Build a test or utility executable
function(jinx_build_executable project_name source_list is_linked is_startup requires_pthreads)

	# Create executable as project name
	add_executable(${project_name} ${source_list})

	# Set C++ 17 compiler flags
	set(CMAKE_CXX_STANDARD 17)
	set(CMAKE_CXX_STANDARD_REQUIRED ON)
	set(CMAKE_CXX_EXTENSIONS OFF)
	
	# Set the executable as the default startup project
	if(is_startup)
		set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${project_name})
	endif()
	
	# Add Jinx library
	if(is_linked)
		target_link_libraries(${project_name} Jinx)
	endif()
	
	# Add pthreads
	if(requires_pthreads AND UNIX AND NOT APPLE)
		set(THREADS_PREFER_PTHREAD_FLAG ON)
		find_package(Threads REQUIRED)
		target_link_libraries(${project_name} Threads::Threads)
	endif()

	# Create IDE folder structure
	source_group("Source" FILES ${source_list})


{'fraction_non_alphanumeric': 0.07435107787065552, 'fraction_numerical': 0.0061592608886933565, 'mean_word_length': 6.554817275747508, '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': '4460652', 'n_tokens_mistral': 833, 'n_tokens_neox': 749, 'n_words': 198}