enum flag added, excludedSourceFiles changed

This commit is contained in:
Denis Feklushkin 2017-10-18 06:47:22 +07:00
parent 4955435346
commit 773211e349
2 changed files with 7 additions and 2 deletions

View File

@ -69,7 +69,7 @@
{
"name": "external",
"versions": ["USE_EXTERNAL"],
"excludedSourceFiles": ["3rdparty/*"]
"excludedSourceFiles": ["3rdparty/fontconfig/*"]
},
{
"name": "minimal",

View File

@ -10,6 +10,8 @@ version(USE_CONSOLE) {
enum ENABLE_OPENGL = false;
enum ENABLE_FREETYPE = false;
enum BACKEND_CONSOLE = true;
/// Tweaking widgets to console style drawing
enum WIDGET_STYLE_CONSOLE = true;
enum BACKEND_GUI = false;
enum BACKEND_SDL = false;
enum BACKEND_X11 = false;
@ -18,11 +20,14 @@ version(USE_CONSOLE) {
enum BACKEND_ANDROID = false;
} else {
version(USE_EXTERNAL) {
// Use this file for to define any enums that is need for the external backend
// Use this file to define any enums that is need for the external backend
mixin(import("external_cfg.d"));
}
else
{
enum BACKEND_GUI = true;
enum WIDGET_STYLE_CONSOLE = false;
}
version (NO_FREETYPE) {
enum ENABLE_FREETYPE = false;