<commit_before>if (not _OPTIONS["united"]) then
	project "NazaraUtility"
end

files
{
	"../include/Nazara/Utility/**.hpp",
	"../include/Nazara/Utility/**.inl",
	"../src/Nazara/Utility/**.hpp",
	"../src/Nazara/Utility/**.cpp"
}

if (os.is("windows")) then
	excludes { "../src/Nazara/Utility/Posix/*.hpp", "../src/Nazara/Utility/Posix/*.cpp" }
	links "gdi32"
else
	excludes { "../src/Nazara/Utility/Win32/*.hpp", "../src/Nazara/Utility/Win32/*.cpp" }
end

if (_OPTIONS["united"]) then
	excludes "../src/Nazara/Utility/Debug/NewOverload.cpp"
else
	configuration "DebugStatic"
		links "NazaraCore-s-d"

	configuration "ReleaseStatic"
		links "NazaraCore-s"

	configuration "DebugDLL"
		links "NazaraCore-d"

	configuration "ReleaseDLL"
		links "NazaraCore"
end

configuration "Debug*"
	links "stb_image-s-d"

configuration "Release*"<commit_msg>Fixed Freetype not being linked to Utility<commit_after>if (not _OPTIONS["united"]) then
	project "NazaraUtility"
end

files
{
	"../include/Nazara/Utility/**.hpp",
	"../include/Nazara/Utility/**.inl",
	"../src/Nazara/Utility/**.hpp",
	"../src/Nazara/Utility/**.cpp"
}

links "freetype-s"

if (os.is("windows")) then
	excludes { "../src/Nazara/Utility/Posix/*.hpp", "../src/Nazara/Utility/Posix/*.cpp" }
	links "gdi32"
else
	excludes { "../src/Nazara/Utility/Win32/*.hpp", "../src/Nazara/Utility/Win32/*.cpp" }
end

if (_OPTIONS["united"]) then
	excludes "../src/Nazara/Utility/Debug/NewOverload.cpp"
else
	configuration "DebugStatic"
		links "NazaraCore-s-d"

	configuration "ReleaseStatic"
		links "NazaraCore-s"

	configuration "DebugDLL"
		links "NazaraCore-d"

	configuration "ReleaseDLL"
		links "NazaraCore"
end

configuration "Debug*"
	links "stb_image-s-d"

configuration "Release*"
{'fraction_non_alphanumeric': 0.1923743500866551, 'fraction_numerical': 0.006932409012131715, 'mean_word_length': 4.109144542772861, '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': '796572', 'n_tokens_mistral': 702, 'n_tokens_neox': 690, 'n_words': 115}