mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
remove LINK_IN_GL etc.
This commit is contained in:
parent
4f3ea6ad9d
commit
3a41895780
@ -883,13 +883,6 @@
|
||||
// on Windows. Some Windows compilers may not support this syntax.
|
||||
#defer EXPORT_TEMPLATES yes
|
||||
|
||||
// Define this to explicitly link in the various external drivers, which
|
||||
// are normally separate, as part of the Panda library.
|
||||
//#define LINK_IN_GL yes
|
||||
//#define LINK_IN_DX yes
|
||||
//#define LINK_IN_EGG yes
|
||||
//#define LINK_IN_PHYSICS yes
|
||||
|
||||
// Define USE_COMPILER to switch the particular compiler that should
|
||||
// be used. A handful of tokens are recognized, depending on BUILD_TYPE.
|
||||
// This may also be further customized within Global.$[BUILD_TYPE].pp.
|
||||
|
@ -380,12 +380,6 @@ $[cdefine NOTIFY_DEBUG]
|
||||
makes sense to MSVC++. */
|
||||
$[cdefine EXPORT_TEMPLATES]
|
||||
|
||||
/* Define if we are linking PANDAGL in with PANDA. */
|
||||
$[cdefine LINK_IN_GL]
|
||||
|
||||
/* Define if we are linking PANDAPHYSICS in with PANDA. */
|
||||
$[cdefine LINK_IN_PHYSICS]
|
||||
|
||||
/* The compiled-in character(s) to expect to separate different
|
||||
components of a path list (e.g. $PRC_PATH). */
|
||||
# define DEFAULT_PATHSEP "$[DEFAULT_PATHSEP]"
|
||||
|
@ -26,18 +26,6 @@
|
||||
interrogatedb:c dconfig:c dtoolconfig:m \
|
||||
dtoolutil:c dtoolbase:c dtool:m prc:c
|
||||
|
||||
#if $[LINK_IN_GL]
|
||||
#define BUILDING_DLL $[BUILDING_DLL] BUILDING_PANDAGL
|
||||
#define COMPONENT_LIBS $[COMPONENT_LIBS] \
|
||||
glgsg glxdisplay wgldisplay
|
||||
#endif
|
||||
|
||||
#if $[LINK_IN_PHYSICS]
|
||||
#define BUILDING_DLL $[BUILDING_DLL] BUILDING_PANDAPHYSICS
|
||||
#define COMPONENT_LIBS $[COMPONENT_LIBS] \
|
||||
physics particlesystem
|
||||
#endif
|
||||
|
||||
#begin metalib_target
|
||||
#define TARGET panda
|
||||
|
||||
|
@ -13,18 +13,6 @@
|
||||
#include "config_pstats.h"
|
||||
#endif
|
||||
|
||||
#ifdef LINK_IN_GL
|
||||
#include "config_glgsg.h"
|
||||
#ifdef HAVE_WGL
|
||||
#include "config_wgldisplay.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef LINK_IN_PHYSICS
|
||||
#include "config_physics.h"
|
||||
#include "config_particlesystem.h"
|
||||
#endif
|
||||
|
||||
// By including checkPandaVersion.h, we guarantee that runtime
|
||||
// attempts to load libpanda.so/.dll will fail if they inadvertently
|
||||
// link with the wrong version of libdtool.so/.dll.
|
||||
@ -48,16 +36,4 @@ init_libpanda() {
|
||||
#ifdef DO_PSTATS
|
||||
init_libpstatclient();
|
||||
#endif
|
||||
|
||||
#ifdef LINK_IN_GL
|
||||
init_libglgsg();
|
||||
#ifdef HAVE_WGL
|
||||
init_libwgldisplay();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef LINK_IN_PHYSICS
|
||||
init_libphysics();
|
||||
init_libparticlesystem();
|
||||
#endif
|
||||
}
|
||||
|
@ -8,13 +8,9 @@
|
||||
#define BUILDING_DLL BUILDING_PANDAGL
|
||||
#define BUILD_DIRECTORY $[HAVE_GL]
|
||||
|
||||
#if $[eq $[LINK_IN_GL],]
|
||||
// We don't have any components if we're linking the GL library
|
||||
// directly into Panda.
|
||||
#define COMPONENT_LIBS \
|
||||
glgsg glxdisplay \
|
||||
wgldisplay osxdisplay
|
||||
#endif
|
||||
|
||||
#define LOCAL_LIBS gsgbase display express
|
||||
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||
|
@ -7,12 +7,8 @@
|
||||
#define DIR_TYPE metalib
|
||||
#define BUILDING_DLL BUILDING_PANDAPHYSICS
|
||||
|
||||
#if $[eq $[LINK_IN_PHYSICS],]
|
||||
// We don't have any components if we're linking the Physics library
|
||||
// directly into Panda.
|
||||
#define COMPONENT_LIBS \
|
||||
physics particlesystem
|
||||
#endif
|
||||
|
||||
#define LOCAL_LIBS linmath putil express
|
||||
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||
|
@ -4,11 +4,8 @@
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "pandaphysics.h"
|
||||
|
||||
#ifndef LINK_IN_PHYSICS
|
||||
#include "config_physics.h"
|
||||
#include "config_particlesystem.h"
|
||||
#endif
|
||||
|
||||
// By including checkPandaVersion.h, we guarantee that runtime
|
||||
// attempts to load libpandaphysics.so/.dll will fail if they
|
||||
@ -26,8 +23,6 @@
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void
|
||||
init_libpandaphysics() {
|
||||
#ifndef LINK_IN_PHYSICS
|
||||
init_libphysics();
|
||||
init_libparticlesystem();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user