/*++

Copyright (c) 2016 Minoca Corp.

    This file is licensed under the terms of the GNU General Public License
    version 3. Alternative licensing terms are available. Contact
    info@minocacorp.com for details. See the LICENSE file at the root of this
    project for complete licensing information.

Module Name:

    .mgproj

Abstract:

    This Mingen project file describes the global attributes of the Minoca OS
    build.

Author:

    Evan Green 14-Apr-2016

Environment:

    Build

--*/

globalenv = "//env.ck:";
default_target = "//:";
output_format = "ninja";
arch ?= getenv("ARCH");
//debug ?= getenv("DEBUG");
variant ?= getenv("VARIANT");

arch ?= "x86";
debug ?= "dbg";
variant ?= "";

if (arch && debug) {
    default_build_dir = "//../" + arch + variant + debug + "/obj/os";
}

