System.pp 902 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // System.pp
  3. //
  4. // This is a system-wide configure file for ppremake. It's normally
  5. // #included from a package-specific Config.pp in the root of the
  6. // source tree. It makes variable declarations that are not normally
  7. // user-editable, but are required to set up the normal processing of
  8. // ppremake.
  9. //
  10. // Define DIR_TYPE as "src", since that's the most common kind of source
  11. // file.
  12. #if $[eq $[DIR_TYPE],]
  13. #define DIR_TYPE src
  14. #endif
  15. // Define where to look for the various kinds of system files.
  16. #if $[eq $[DEPENDS_FILE],]
  17. #define DEPENDS_FILE $[PPREMAKE_DIR]/Depends.pp
  18. #endif
  19. #if $[eq $[GLOBAL_FILE],]
  20. #define GLOBAL_FILE $[PPREMAKE_DIR]/Global.$[BUILD_TYPE].pp
  21. #endif
  22. #if $[eq $[TEMPLATE_FILE],]
  23. #define TEMPLATE_FILE $[PPREMAKE_DIR]/Template.$[BUILD_TYPE].pp
  24. #endif
  25. // Include the global definitions for the template type, if the file
  26. // is there.
  27. #sinclude $[GLOBAL_FILE]