project"flac"
	cppdialect"c++17"
	kind"staticLib"
	targetdir"lib"
	staticruntime "off"

	defines
	{
		"FLAC__NO_DLL",
		"CPU_IS_BIG_ENDIAN=0",
		"FLAC__HAS_OGG=1",
		"PACKAGE_VERSION=\"\""
	}

	includedirs
	{
		"include",
		"src/libFLAC/include",
		"../ogg/include"
	}

	files
	{
		"src/libFLAC/**.c",
	}

	removefiles
	{
		"src/libFLAC/deduplication/**"
	}

	filter"system:windows"
		files
		{
			"src/share/win_utf8_io/**.c"
		}

	filter "configurations:Debug"
		runtime "Debug"
		symbols "on"

	filter "configurations:Release"
		runtime "Release"
		optimize "Speed"