mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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
|
@ -68,6 +68,8 @@
|
|||||||
|
|
||||||
#if $[eq $[PLATFORM], Win32]
|
#if $[eq $[PLATFORM], Win32]
|
||||||
#define BUILD_TYPE gmsvc
|
#define BUILD_TYPE gmsvc
|
||||||
|
#elif $[eq $[PLATFORM], Cygwin]
|
||||||
|
#define BUILD_TYPE msvc
|
||||||
#else
|
#else
|
||||||
#define BUILD_TYPE unix
|
#define BUILD_TYPE unix
|
||||||
#endif
|
#endif
|
||||||
@ -401,7 +403,7 @@
|
|||||||
|
|
||||||
#if $[eq $[PLATFORM], Win32]
|
#if $[eq $[PLATFORM], Win32]
|
||||||
#if $[eq $[USE_COMPILER],]
|
#if $[eq $[USE_COMPILER],]
|
||||||
#define USE_COMPILER MSVC
|
#define USE_COMPILER MSVC7
|
||||||
#endif
|
#endif
|
||||||
#elif $[eq $[PLATFORM], Irix]
|
#elif $[eq $[PLATFORM], Irix]
|
||||||
#define USE_COMPILER MIPS
|
#define USE_COMPILER MIPS
|
||||||
|
@ -41,8 +41,8 @@
|
|||||||
// PLATFORM variable, and help it to control the effects of functions
|
// PLATFORM variable, and help it to control the effects of functions
|
||||||
// like $[os] and $[isfullpath].
|
// 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.
|
// 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