.mgproj 555 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*++
  2. Copyright (c) 2016 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. .mgproj
  5. Abstract:
  6. This Mingen project file describes the global attributes of the Minoca OS
  7. build.
  8. Author:
  9. Evan Green 14-Apr-2016
  10. Environment:
  11. Build
  12. --*/
  13. globalenv = "//env.ck:";
  14. default_target = "//:";
  15. output_format = "ninja";
  16. arch ?= getenv("ARCH");
  17. //debug ?= getenv("DEBUG");
  18. //variant ?= getenv("VARIANT");
  19. arch ?= "x86";
  20. debug ?= "dbg";
  21. variant ?= "";
  22. if (arch && debug) {
  23. default_build_dir = "//../" + arch + debug + variant + "/obj/os";
  24. }