External backends: enum flags config added

This commit is contained in:
Denis Feklushkin 2017-10-13 12:08:32 +07:00
parent 2c6da55e63
commit 51c0637ae4
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ version(USE_CONSOLE) {
enum BACKEND_WIN32 = false;
enum BACKEND_ANDROID = false;
} else {
version(USE_EXTERNAL) {}
version(USE_EXTERNAL) {
// Use this file for to define any enums that is need for the external backend
mixin(import("external_cfg.d"));
}
else
enum BACKEND_GUI = true;