<commit_before>cmake_minimum_required(VERSION 2.8)
project(semver)
set(VERSION_MAJOR   "0")
set(VERSION_MINOR   "1")
set(VERSION_PATCH   "0")
set(VERSION_RELEASE "alpha")
set(VERSION_BUILD   "")

# Build full version string, including optional components
string(COMPARE NOTEQUAL VERSION_RELEASE "" HAVE_RELEASE)
string(COMPARE NOTEQUAL VERSION_BUILD "" HAVE_BUILD)
set(VERSION_FULL "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
if(HAVE_RELEASE)
	set(VERSION_FULL "${VERSION_FULL}-${VERSION_RELEASE}")
endif()
if(HAVE_BUILD)
	set(VERSION_FULL "${VERSION_FULL}-${VERSION_BUILD}")
endif()

if(UNIX)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -pedantic")
	add_definitions(-std=c++14)
endif()

if(WIN32)
	add_definitions(-DWINVER=0x0601)
	add_definitions(-D_WIN32_WINNT=0x0601)
endif()

if(MSVC)
	add_definitions(-D_SCL_SECURE_NO_WARNINGS)<commit_msg>Bump version to 1.0.0<commit_after>cmake_minimum_required(VERSION 2.8)
project(semver)
set(VERSION_MAJOR   "1")
set(VERSION_MINOR   "0")
set(VERSION_PATCH   "0")
set(VERSION_RELEASE "")
set(VERSION_BUILD   "")

# Build full version string, including optional components
string(COMPARE NOTEQUAL VERSION_RELEASE "" HAVE_RELEASE)
string(COMPARE NOTEQUAL VERSION_BUILD "" HAVE_BUILD)
set(VERSION_FULL "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
if(HAVE_RELEASE)
	set(VERSION_FULL "${VERSION_FULL}-${VERSION_RELEASE}")
endif()
if(HAVE_BUILD)
	set(VERSION_FULL "${VERSION_FULL}+${VERSION_BUILD}")
endif()

if(UNIX)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -pedantic")
	add_definitions(-std=c++14)
endif()

if(WIN32)
	add_definitions(-DWINVER=0x0601)
	add_definitions(-D_WIN32_WINNT=0x0601)
endif()

if(MSVC)
	add_definitions(-D_SCL_SECURE_NO_WARNINGS)
{'fraction_non_alphanumeric': 0.1393489434608795, 'fraction_numerical': 0.02569960022844089, 'mean_word_length': 8.787709497206704, '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': '2827357', 'n_tokens_mistral': 698, 'n_tokens_neox': 669, 'n_words': 105}