1 /*
2  * DSFML - The Simple and Fast Multimedia Library for D
3  *
4  * Copyright (c) 2013 - 2017 Jeremy DeHaan (dehaan.jeremiah@gmail.com)
5  *
6  * This software is provided 'as-is', without any express or implied warranty.
7  * In no event will the authors be held liable for any damages arising from the
8  * use of this software.
9  *
10  * Permission is granted to anyone to use this software for any purpose,
11  * including commercial applications, and to alter it and redistribute it
12  * freely, subject to the following restrictions:
13  *
14  * 1. The origin of this software must not be misrepresented; you must not claim
15  * that you wrote the original software. If you use this software in a product,
16  * an acknowledgment in the product documentation would be appreciated but is
17  * not required.
18  *
19  * 2. Altered source versions must be plainly marked as such, and must not be
20  * misrepresented as being the original software.
21  *
22  * 3. This notice may not be removed or altered from any source distribution
23  */
24 
25 /// A module containing configuration settings.
26 module dsfml.system.config;
27 
28 //Check to confirm compiler is at least v2.067
29 static if (__VERSION__ < 2067L)
30 {
31 	static assert(0, "Please upgrade your compiler to v2.067 or later");
32 }
33 
34 /// DSFML version enum
35 enum
36 {
37 	/// DSFML's major version number.
38 	DSFML_VERSION_MAJOR = 2,
39 	/// DSFML's minor version number.
40 	DSFML_VERSION_MINOR = 4
41 }
42 
43 //destructor output for mixing in.
44 enum destructorOutput =`
45 	version (DSFML_Noisy_Destructors)
46 	{
47 		import dsfml.system.err;
48 		err.writeln("Destroying ", typeof(this).stringof);
49 	}`;
50