project("Pack")
	flags("RelativeLinks")
	kind("ConsoleApp")
	language("C")
	targetdir("../bin/%{cfg.buildcfg}/%{cfg.platform}")
	objdir("../obj")
	targetname("pack")
	includedirs({
		"../include"
	})
	files({
		"pack/*.c"
	})
	links({
		"GoldFish"
	})
	gf_link_stuffs("options:engine=static")
	filter("system:windows")
		files({
			"pack/*.rc"
		})
	filter("configurations:Debug")
		defines({
			"DEBUG"
		})
		symbols("On")
	filter("configurations:Release")
		defines({
			"NDEBUG"
		})
		optimize("On")
	gf_msvc_filters()

project("EngineInfo")
	flags("RelativeLinks")
	filter("system:windows")
		kind("WindowedApp")
	filter("system:not windows")
		kind("ConsoleApp")
	filter({})
	language("C")
	targetdir("../bin/%{cfg.buildcfg}/%{cfg.platform}")
	objdir("../obj")
	targetname("engineinfo")
	includedirs({
		"../include"
	})
	files({
		"engineinfo/*.c"
	})
	removefiles({
		"engineinfo/main_windows.c"
	})
	filter("system:windows")
		removefiles({
			"engineinfo/main_console.c"
		})
		files({
			"engineinfo/main_windows.c",
			"engineinfo/*.rc"
		})
	filter({})
	links({
		"GoldFish"
	})
	gf_link_stuffs("options:engine=static")
	filter("configurations:Debug")
		defines({
			"DEBUG"
		})
		symbols("On")
	filter("configurations:Release")
		defines({
			"NDEBUG"
		})
		optimize("On")
	gf_msvc_filters()
