mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
add Cygwin platform
This commit is contained in:
parent
e4a4bc3034
commit
96aa6712a3
9
dtool/Config.Cygwin.pp
Normal file
9
dtool/Config.Cygwin.pp
Normal file
@ -0,0 +1,9 @@
|
||||
//
|
||||
// Config.Cygwin.pp
|
||||
//
|
||||
// This file defines some custom config variables for the Windows
|
||||
// platform, when ppremake has been compiled using Cygwin. It
|
||||
// inherits most of its parameters from Config.Win32.pp.
|
||||
//
|
||||
|
||||
#include $[THISDIRPREFIX]Config.Win32.pp
|
@ -66,8 +66,10 @@
|
||||
// not taking advantage of distributed make, because of
|
||||
// the overhead associated with Cygwin fork() calls.
|
||||
|
||||
#if $[eq $[PLATFORM],Win32]
|
||||
#if $[eq $[PLATFORM], Win32]
|
||||
#define BUILD_TYPE gmsvc
|
||||
#elif $[eq $[PLATFORM], Cygwin]
|
||||
#define BUILD_TYPE msvc
|
||||
#else
|
||||
#define BUILD_TYPE unix
|
||||
#endif
|
||||
@ -401,7 +403,7 @@
|
||||
|
||||
#if $[eq $[PLATFORM], Win32]
|
||||
#if $[eq $[USE_COMPILER],]
|
||||
#define USE_COMPILER MSVC
|
||||
#define USE_COMPILER MSVC7
|
||||
#endif
|
||||
#elif $[eq $[PLATFORM], Irix]
|
||||
#define USE_COMPILER MIPS
|
||||
|
@ -41,8 +41,8 @@
|
||||
// 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]
|
||||
#define WINDOWS_PLATFORM $[or $[eq $[PLATFORM],Win32]$[eq $[PLATFORM],Cygwin]]
|
||||
|
||||
// True if we are building on some flavor of Unix.
|
||||
#define UNIX_PLATFORM $[not $[WINDOWS_PLATFORM]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user