<commit_before>solution "tinystl"

	local ROOT_DIR = path.join(path.getdirectory(_SCRIPT), "..") .. "/"
	local THIRDPARTY_DIR = ROOT_DIR .. "3rdparty/"

	platforms {
		"x32",
		"x64",
	}

	configurations {
		"debug",
		"release",
	}

	language "C++"

	flags {
		"StaticRuntime",
		"NoMinimalRebuild",
		"NoPCH",
		"NoRTTI",
		"NoEditAndContinue",
		"ExtraWarnings",
		"FatalWarnings",
		"Symbols",
	}

	includedirs {
		"../include/"
	}

	location (ROOT_DIR .. ".build/projects")
	objdir (ROOT_DIR .. ".build/obj/")
	targetdir (ROOT_DIR .. "bin/")

dofile "unittest++.lua"

project "test_tinystl"
	kind "ConsoleApp"

	files {
		ROOT_DIR .. "test/**.cpp",
		ROOT_DIR .. "include/**.h",
	}

	includedirs {
		ROOT_DIR .. "include/",
		THIRDPARTY_DIR .. "UnitTest++/src/",
	}

	links {
		"UnitTest++"
	}

	postbuildcommands {
		ROOT_DIR .. "bin/test_tinystl"
	}

	configuration { "windows" }
		defines {
			"_SCL_SECURE_NO_WARNINGS",
		}<commit_msg>adding _CRT_NONSTDC_NO_WARNINGS for win32 builds<commit_after>solution "tinystl"

	local ROOT_DIR = path.join(path.getdirectory(_SCRIPT), "..") .. "/"
	local THIRDPARTY_DIR = ROOT_DIR .. "3rdparty/"

	platforms {
		"x32",
		"x64",
	}

	configurations {
		"debug",
		"release",
	}

	language "C++"

	flags {
		"StaticRuntime",
		"NoMinimalRebuild",
		"NoPCH",
		"NoRTTI",
		"NoEditAndContinue",
		"ExtraWarnings",
		"FatalWarnings",
		"Symbols",
	}

	includedirs {
		"../include/"
	}

	location (ROOT_DIR .. ".build/projects")
	objdir (ROOT_DIR .. ".build/obj/")
	targetdir (ROOT_DIR .. "bin/")

dofile "unittest++.lua"

project "test_tinystl"
	kind "ConsoleApp"

	files {
		ROOT_DIR .. "test/**.cpp",
		ROOT_DIR .. "include/**.h",
	}

	includedirs {
		ROOT_DIR .. "include/",
		THIRDPARTY_DIR .. "UnitTest++/src/",
	}

	links {
		"UnitTest++"
	}

	postbuildcommands {
		ROOT_DIR .. "bin/test_tinystl"
	}

	configuration { "windows" }
		defines {
			"_SCL_SECURE_NO_WARNINGS",
			"_CRT_NONSTDC_NO_WARNINGS",
		}
{'fraction_non_alphanumeric': 0.1796315250767656, 'fraction_numerical': 0.006141248720573183, 'mean_word_length': 3.2967032967032965, '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': '3908006', 'n_tokens_mistral': 904, 'n_tokens_neox': 806, 'n_words': 129}