.mgproj 802 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*++
  2. Copyright (c) 2016 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. .mgproj
  9. Abstract:
  10. This Mingen project file describes the global attributes of the Minoca OS
  11. build.
  12. Author:
  13. Evan Green 14-Apr-2016
  14. Environment:
  15. Build
  16. --*/
  17. globalenv = "//env.ck:";
  18. default_target = "//:";
  19. output_format = "ninja";
  20. arch ?= getenv("ARCH");
  21. //debug ?= getenv("DEBUG");
  22. variant ?= getenv("VARIANT");
  23. arch ?= "x86";
  24. debug ?= "dbg";
  25. variant ?= "";
  26. if (arch && debug) {
  27. default_build_dir = "//../" + arch + variant + debug + "/obj/os";
  28. }