| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- //
- // System.pp
- //
- // This is a system-wide configure file for ppremake. It's normally
- // #included from a package-specific Config.pp in the root of the
- // source tree. It makes variable declarations that are not normally
- // user-editable, but are required to set up the normal processing of
- // ppremake.
- //
- // Define DIR_TYPE as "src", since that's the most common kind of source
- // file.
- #if $[eq $[DIR_TYPE],]
- #define DIR_TYPE src
- #endif
- // Define where to look for the various kinds of system files.
- #if $[eq $[DEPENDS_FILE],]
- #define DEPENDS_FILE $[THISDIRPREFIX]Depends.pp
- #endif
- #if $[eq $[GLOBAL_FILE],]
- #define GLOBAL_FILE $[THISDIRPREFIX]Global.pp
- #endif
- #if $[eq $[GLOBAL_TYPE_FILE],]
- #define GLOBAL_TYPE_FILE $[THISDIRPREFIX]Global.$[BUILD_TYPE].pp
- #endif
- #if $[eq $[TEMPLATE_FILE],]
- #define TEMPLATE_FILE $[THISDIRPREFIX]Template.$[BUILD_TYPE].pp
- #endif
- #if $[eq $[DEPENDENCY_CACHE_FILENAME],]
- #define DEPENDENCY_CACHE_FILENAME pp.dep
- #endif
- // These variables tell ppremake how to interpret the contents of the
- // PLATFORM variable, and help it to control the effects of functions
- // like $[os] and $[isfullpath].
- // True if we are building on some flavor of Unix.
- #define UNIX_PLATFORM $[ne $[PLATFORM],Win32]
- // True if we are building on some flavor of Windows.
- #define WINDOWS_PLATFORM $[eq $[PLATFORM],Win32]
|