<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<DCIDE_LIBRARIES>

	<!-- Other libraries depend on this, but it can't be used on it's own -->
	<LIBRARY name="DerelictUtil"  importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)" hidden="true">
		<LIBFILE>DerelictUtil.lib</LIBFILE>
	</LIBRARY>

	<LIBRARY name="Open Dynamics Engine (ODE)" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>DerelictUtil</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Physics</GROUP>
		<LIBFILE>DerelictODE.lib</LIBFILE>
		<IMPORT>derelict.ode.ode</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictODE.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="OpenAL" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>DerelictUtil</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Sound</GROUP>
		<LIBFILE>DerelictAL.lib</LIBFILE>
		<IMPORT>derelict.openal.al</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictAL.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="OpenGL" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>DerelictUtil</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<LIBFILE>DerelictGL.lib</LIBFILE>
		<LIBFILE>gdi32.lib</LIBFILE>
		<IMPORT>derelict.opengl.gl</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictGL.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="OpenGL Utility Library (GLU)" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>DerelictUtil</DEPEND>
		<DEPEND>OpenGL</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<GROUP>Window Libs</GROUP>
		<LIBFILE>DerelictGLU.lib</LIBFILE>
		<IMPORT>derelict.opengl.glu</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictGLU.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="DevIL" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>DerelictUtil</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<LIBFILE>DerelictIL.lib</LIBFILE>
		<IMPORT>derelict.devil.il</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictIL.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="ILU" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>DerelictUtil</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<LIBFILE>DerelictILU.lib</LIBFILE>
		<IMPORT>derelict.devil.ilu</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictILU.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="ILUT" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>DerelictUtil</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<LIBFILE>DerelictILUT.lib</LIBFILE>
		<IMPORT>derelict.devil.ilut</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictILUT.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="SDL" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>DerelictUtil</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<LIBFILE>DerelictSDL.lib</LIBFILE>
		<DLLFILE>SDL.dll</DLLFILE>
		<IMPORT>derelict.sdl.sdl</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictSDL.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
		<STATIC_THIS_CONSTRUCTOR_LOAD>
			<![CDATA[				
				if (SDL_Init(SDL_INIT_VIDEO) < 0)
					throw new Exception("Failed to initialize SDL: " ~ std.string.toString(SDL_GetError()));
			]]>
		</STATIC_THIS_CONSTRUCTOR_LOAD>
		<STATIC_THIS_CONSTRUCTOR_LOAD_TANGO>
			<![CDATA[
				if (SDL_Init(SDL_INIT_VIDEO) < 0)
					throw new Exception("Failed to initialize SDL: " ~  tango.stdc.stringz.fromStringz(SDL_GetError()));
			]]>
		</STATIC_THIS_CONSTRUCTOR_LOAD_TANGO>
		<STATIC_THIS_DESTRUCTOR>
			<![CDATA[
				SDL_Quit();
			]]>
		</STATIC_THIS_DESTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="SDL_image" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>zlib</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<LIBFILE>DerelictSDLImage.lib</LIBFILE>
		<DLLFILE>SDL_image.dll</DLLFILE>
		<DLLFILE>jpeg.dll</DLLFILE>
		<DLLFILE>libpng12-0.dll</DLLFILE>
		<DLLFILE>libtiff-3.dll</DLLFILE>
		<IMPORT>derelict.sdl.image</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictSDLImage.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="SDL_mixer" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>libogg</DEPEND>
		<DEPEND>libvorbis</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Sound</GROUP>
		<LIBFILE>DerelictSDLMixer.lib</LIBFILE>
		<DLLFILE>SDL_mixer.dll</DLLFILE>
		<DLLFILE>smpeg.dll</DLLFILE>
		<IMPORT>derelict.sdl.mixer</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictSDLMixer.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="SDL_net" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<GROUP>Derelict</GROUP>
		<LIBFILE>DerelictSDLNet.lib</LIBFILE>
		<DLLFILE>SDL_net.dll</DLLFILE>
		<IMPORT>derelict.sdl.net</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictSDLNet.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="SDL_ttf" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<DEPEND>FreeType</DEPEND>
		<DEPEND>zlib</DEPEND>
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<LIBFILE>DerelictSDLttf.lib</LIBFILE>
		<DLLFILE>SDL_ttf.dll</DLLFILE>
		<IMPORT>derelict.sdl.ttf</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictSDLttf.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="FreeType" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<GROUP>Derelict</GROUP>
		<GROUP>Graphics</GROUP>
		<LIBFILE>DerelictFT.lib</LIBFILE>
		<DLLFILE>libfreetype-6.dll</DLLFILE>
		<IMPORT>derelict.freetype.ft</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictFT.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="libogg" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<GROUP>Derelict</GROUP>
		<GROUP>Sound</GROUP>
		<GROUP>File formats</GROUP>
		<LIBFILE>DerelictOgg.lib</LIBFILE>
		<DLLFILE>libogg-0.dll</DLLFILE>
		<IMPORT>derelict.ogg.ogg</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictOgg.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="libvorbis" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<GROUP>Derelict</GROUP>
		<GROUP>Sound</GROUP>
		<GROUP>File formats</GROUP>
		<LIBFILE>DerelictVorbis.lib</LIBFILE>
		<DLLFILE>libvorbis-0.dll</DLLFILE>
		<DLLFILE>libvorbisfile-3.dll</DLLFILE>
		<IMPORT>derelict.ogg.vorbis</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictVorbis.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="GLC" hidden="true">
		<!-- Sample: http://odefu.googlecode.com/svn/trunk/DerelictGLC/glc_test.d -->
		<GROUP>Graphics</GROUP>
		<LIBFILE></LIBFILE>
		<IMPORT>derelict.opengl.glc</IMPORT>
		<STATIC_THIS_CONSTRUCTOR>
			<![CDATA[
				DerelictGLC.load();
			]]>
		</STATIC_THIS_CONSTRUCTOR>
	</LIBRARY>
	
	<LIBRARY name="Allegro" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)">
		<GROUP>Graphics</GROUP>
		<LIBFILE>dalleg.lib</LIBFILE>
		<DLLFILE>alld42.dll</DLLFILE>
		<DLLFILE>alleg42.dll</DLLFILE>
		<IMPORT>allegro.allegro</IMPORT>
		<STATIC_THIS_CONSTRUCTOR_LOAD>
			<![CDATA[
				if (allegro_init() != 0)
					throw new Exception("Allegro init error!");
			]]>
		</STATIC_THIS_CONSTRUCTOR_LOAD>
	</LIBRARY>
	
	<LIBRARY name="zlib" importLocation="$(DCIDE_LIBS_INCLUDE_PATH)" libLocation="$(DCIDE_LIBS_LIB_PATH)" hidden="true">
		<GROUP>File formats</GROUP>
		<GROUP>Data processing</GROUP>
		<DLLFILE>zlib1.dll</DLLFILE>
	</LIBRARY>
	
	<!-- Not yet added -->
	<LIBRARY name="MySQL" hidden="true">
		<GROUP>Data processing</GROUP>
		<LIBFILE></LIBFILE>
	</LIBRARY>
	
	<LIBRARY name="PhysX" hidden="true">
		<GROUP>Physics</GROUP>
		<LIBFILE></LIBFILE>
	</LIBRARY>
	
	<LIBRARY name="WinAPI" hidden="true">
		<GROUP>Window Libs</GROUP>
		<LIBFILE></LIBFILE>
		<IMPORT></IMPORT>
	</LIBRARY>
	
</DCIDE_LIBRARIES>