mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
ipc -> threads
This commit is contained in:
parent
4b3278ad69
commit
581af369ef
@ -307,14 +307,16 @@
|
||||
#define MIKMOD_CONFIG libmikmod-config
|
||||
#defer HAVE_MIKMOD $[bintest $[MIKMOD_CONFIG]]
|
||||
|
||||
// Do you want to build in support for threading (inter-process
|
||||
// control)? What additional libraries are required? Currently, this
|
||||
// requires NSPR to compile correctly.
|
||||
#define IPC_IPATH
|
||||
#define IPC_LPATH
|
||||
#define IPC_LIBS
|
||||
//#defer HAVE_IPC $[HAVE_NSPR]
|
||||
#define HAVE_IPC
|
||||
// Do you want to build in support for threading (multiprocessing)?
|
||||
// Building in support for threading will enable Panda to take
|
||||
// advantage of multiple CPU's if you have them (and if the OS
|
||||
// supports kernel threads running on different CPU's), but it will
|
||||
// slightly slow down Panda for the single CPU case, so this is not
|
||||
// enabled by default.
|
||||
|
||||
// Currently, threading support requires NSPR, so you should not
|
||||
// define this true unless you have NSPR installed.
|
||||
#define HAVE_THREADS
|
||||
|
||||
// Do you want to build the network interface? What additional libraries
|
||||
// are required? Currently, this requires NSPR.
|
||||
|
@ -85,8 +85,8 @@ $[cdefine HAVE_SOXST]
|
||||
/* Define if we want to use mikmod for audio. */
|
||||
$[cdefine HAVE_MIKMOD]
|
||||
|
||||
/* Define if we want to compile the ipc code. */
|
||||
$[cdefine HAVE_IPC]
|
||||
/* Define if we want to compile the threading code. */
|
||||
$[cdefine HAVE_THREADS]
|
||||
|
||||
/* Define if we want to compile the net code. */
|
||||
$[cdefine HAVE_NET]
|
||||
|
@ -165,10 +165,7 @@
|
||||
#set MIKMOD_CONFIG $[MIKMOD_CONFIG]
|
||||
#set HAVE_MIKMOD $[HAVE_MIKMOD]
|
||||
|
||||
#set IPC_IPATH $[unixfilename $[IPC_IPATH]]
|
||||
#set IPC_LPATH $[unixfilename $[IPC_LPATH]]
|
||||
#set IPC_LIBS $[IPC_LIBS]
|
||||
#set HAVE_IPC $[HAVE_IPC]
|
||||
#set HAVE_THREADS $[HAVE_THREADS]
|
||||
|
||||
#set NET_IPATH $[unixfilename $[NET_IPATH]]
|
||||
#set NET_LPATH $[unixfilename $[NET_LPATH]]
|
||||
|
@ -217,12 +217,6 @@
|
||||
#define maya_libs $[MAYA_LIBS]
|
||||
#endif
|
||||
|
||||
#if $[HAVE_IPC]
|
||||
#define ipc_ipath $[wildcard $[IPC_IPATH]]
|
||||
#define ipc_lpath $[wildcard $[IPC_LPATH]]
|
||||
#define ipc_libs $[IPC_LIBS]
|
||||
#endif
|
||||
|
||||
#if $[HAVE_NET]
|
||||
#define net_ipath $[wildcard $[NET_IPATH]]
|
||||
#define net_lpath $[wildcard $[NET_LPATH]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user