mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
general: Add guards to ensure proper BUILDING_ macros defined
This is designed to sanity-check the buildsystem, ensuring that the expected BUILDING_ macros are defined at the expected time. It also helps catch cases where the wrong BUILDING_/EXPCL_ macros are used.
This commit is contained in:
parent
f231ba4cd7
commit
9dd37e9dbc
@ -15,6 +15,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DIRECT_DEADREC)
|
||||
#error Buildsystem error: BUILDING_DIRECT_DEADREC not defined
|
||||
#endif
|
||||
|
||||
Configure(config_deadrec);
|
||||
NotifyCategoryDef(deadrec, "");
|
||||
|
||||
|
@ -30,6 +30,10 @@
|
||||
|
||||
#include "pset.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DIRECT_DIRECTD)
|
||||
#error Buildsystem error: BUILDING_DIRECT_DIRECTD not defined
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
// ...This section is part of the old stuff from the original
|
||||
// implementation. The new stuff that uses job objects doesn't need this
|
||||
|
@ -14,6 +14,10 @@
|
||||
#include "config_distributed.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DIRECT_DISTRIBUTED)
|
||||
#error Buildsystem error: BUILDING_DIRECT_DISTRIBUTED not defined
|
||||
#endif
|
||||
|
||||
Configure(config_distributed);
|
||||
NotifyCategoryDef(distributed, "");
|
||||
|
||||
|
@ -29,6 +29,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DIRECT_INTERVAL)
|
||||
#error Buildsystem error: BUILDING_DIRECT_INTERVAL not defined
|
||||
#endif
|
||||
|
||||
Configure(config_interval);
|
||||
NotifyCategoryDef(interval, "");
|
||||
|
||||
|
@ -14,6 +14,10 @@
|
||||
#include "config_motiontrail.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DIRECT_MOTIONTRAIL)
|
||||
#error Buildsystem error: BUILDING_DIRECT_MOTIONTRAIL not defined
|
||||
#endif
|
||||
|
||||
extern EXPCL_DIRECT_MOTIONTRAIL void init_libmotiontrail();
|
||||
|
||||
Configure(config_motiontrail);
|
||||
|
@ -34,6 +34,10 @@ TOGGLEKEYS g_StartupToggleKeys = {sizeof(TOGGLEKEYS), 0};
|
||||
FILTERKEYS g_StartupFilterKeys = {sizeof(FILTERKEYS), 0};
|
||||
#endif
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DIRECT_SHOWBASE)
|
||||
#error Buildsystem error: BUILDING_DIRECT_SHOWBASE not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_showbase);
|
||||
ConfigureFn(config_showbase) {
|
||||
}
|
||||
|
@ -13,5 +13,9 @@
|
||||
|
||||
#include "config_dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DTOOL_DCONFIG)
|
||||
#error Buildsystem error: BUILDING_DTOOL_DCONFIG not defined
|
||||
#endif
|
||||
|
||||
NotifyCategoryDef(dconfig, "");
|
||||
NotifyCategoryDef(microconfig, "dconfig");
|
||||
|
@ -14,6 +14,10 @@
|
||||
#include "dtoolbase.h"
|
||||
#include "memoryHook.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DTOOL_DTOOLBASE)
|
||||
#error Buildsystem error: BUILDING_DTOOL_DTOOLBASE not defined
|
||||
#endif
|
||||
|
||||
#if defined(USE_TAU) && defined(WIN32)
|
||||
// Hack around tau's lack of DLL export declarations for Profiler class.
|
||||
bool __tau_shutdown = false;
|
||||
|
@ -16,6 +16,10 @@
|
||||
#include "filename.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DTOOL_DTOOLUTIL)
|
||||
#error Buildsystem error: BUILDING_DTOOL_DCTOOLUTIL not defined
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Initializes the library. This must be called at least once before any of
|
||||
* the functions or classes in this library can be used. Normally it will be
|
||||
|
@ -16,6 +16,10 @@
|
||||
#include "configVariableEnum.h"
|
||||
#include "pandaFileStreamBuf.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_DTOOL_PRC)
|
||||
#error Buildsystem error: BUILDING_DTOOL_PRC not defined
|
||||
#endif
|
||||
|
||||
NotifyCategoryDef(prc, "");
|
||||
|
||||
ALIGN_16BYTE ConfigVariableBool assert_abort
|
||||
|
@ -20,6 +20,10 @@
|
||||
|
||||
#include "checkPandaVersion.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_LIBPANDA)
|
||||
#error Buildsystem error: BUILDING_LIBPANDA not defined
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Initializes the library. This must be called at least once before any of
|
||||
* the functions or classes in this library can be used. Normally it will be
|
||||
|
@ -21,6 +21,10 @@
|
||||
#include "nullAudioSound.h"
|
||||
#include "string_utils.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_AUDIO)
|
||||
#error Buildsystem error: BUILDING_PANDA_AUDIO not defined
|
||||
#endif
|
||||
|
||||
Configure(config_audio);
|
||||
NotifyCategoryDef(audio, "");
|
||||
|
||||
|
@ -19,6 +19,10 @@
|
||||
#include "pandaSystem.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_FMOD_AUDIO)
|
||||
#error Buildsystem error: BUILDING_FMOD_AUDIO not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_fmodAudio);
|
||||
NotifyCategoryDef(fmodAudio, ":audio");
|
||||
|
||||
|
@ -22,6 +22,10 @@
|
||||
#include "pandaSystem.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_MILES_AUDIO)
|
||||
#error Buildsystem error: BUILDING_MILES_AUDIO not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_milesAudio);
|
||||
NotifyCategoryDef(milesAudio, ":audio");
|
||||
|
||||
|
@ -18,6 +18,10 @@
|
||||
#include "pandaSystem.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_OPENAL_AUDIO)
|
||||
#error Buildsystem error: BUILDING_OPENAL_AUDIO not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_openalAudio);
|
||||
NotifyCategoryDef(openalAudio, ":audio");
|
||||
|
||||
|
@ -18,6 +18,10 @@
|
||||
#include "dconfig.h"
|
||||
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAAWESOMIUM)
|
||||
#error Buildsystem error: BUILDING_PANDAAWESOMIUM not defined
|
||||
#endif
|
||||
|
||||
Configure(config_awesomium);
|
||||
NotifyCategoryDef(awesomium, "");
|
||||
|
||||
|
@ -56,6 +56,10 @@ extern ContactDestroyedCallback gContactDestroyedCallback;
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDABULLET)
|
||||
#error Buildsystem error: BUILDING_PANDABULLET not defined
|
||||
#endif
|
||||
|
||||
Configure(config_bullet);
|
||||
NotifyCategoryDef(bullet, "");
|
||||
|
||||
|
@ -34,6 +34,10 @@
|
||||
#include "luse.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_CHAN)
|
||||
#error Buildsystem error: BUILDING_PANDA_CHAN not defined
|
||||
#endif
|
||||
|
||||
Configure(config_chan);
|
||||
NotifyCategoryDef(chan, "");
|
||||
|
||||
|
@ -21,6 +21,10 @@
|
||||
#include "jointVertexTransform.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_CHAR)
|
||||
#error Buildsystem error: BUILDING_PANDA_CHAR not defined
|
||||
#endif
|
||||
|
||||
Configure(config_char);
|
||||
NotifyCategoryDef(char, "");
|
||||
|
||||
|
@ -20,6 +20,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAGL)
|
||||
#error Buildsystem error: BUILDING_PANDAGL not defined
|
||||
#endif
|
||||
|
||||
Configure(config_cocoadisplay);
|
||||
NotifyCategoryDef(cocoadisplay, "display");
|
||||
|
||||
|
@ -17,6 +17,10 @@
|
||||
#include "loaderFileTypeDae.h"
|
||||
#include "loaderFileTypeRegistry.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_COLLADA)
|
||||
#error Buildsystem error: BUILDING_COLLADA not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_collada);
|
||||
NotifyCategoryDef(collada, "");
|
||||
|
||||
|
@ -42,6 +42,10 @@
|
||||
#include "collisionVisualizer.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_COLLIDE)
|
||||
#error Buildsystem error: BUILDING_PANDA_COLLIDE not defined
|
||||
#endif
|
||||
|
||||
Configure(config_collide);
|
||||
NotifyCategoryDef(collide, "");
|
||||
|
||||
|
@ -22,6 +22,10 @@
|
||||
#include "cullBinManager.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_CULL)
|
||||
#error Buildsystem error: BUILDING_PANDA_CULL not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_cull);
|
||||
NotifyCategoryDef(cull, "");
|
||||
|
||||
|
@ -27,6 +27,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_DEVICE)
|
||||
#error Buildsystem error: BUILDING_PANDA_DEVICE not defined
|
||||
#endif
|
||||
|
||||
Configure(config_device);
|
||||
NotifyCategoryDef(device, "");
|
||||
|
||||
|
@ -17,6 +17,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_DGRAPH)
|
||||
#error Buildsystem error: BUILDING_PANDA_DGRAPH not defined
|
||||
#endif
|
||||
|
||||
Configure(config_dgraph);
|
||||
NotifyCategoryDef(dgraph, "");
|
||||
|
||||
|
@ -31,6 +31,10 @@
|
||||
#include "subprocessWindow.h"
|
||||
#include "windowHandle.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_DISPLAY)
|
||||
#error Buildsystem error: BUILDING_PANDA_DISPLAY not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_display);
|
||||
NotifyCategoryDef(display, "");
|
||||
NotifyCategoryDef(gsg, display_cat);
|
||||
|
@ -20,6 +20,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAFX)
|
||||
#error Buildsystem error: BUILDING_PANDAFX not defined
|
||||
#endif
|
||||
|
||||
Configure(config_distort);
|
||||
NotifyCategoryDef(distort, "");
|
||||
|
||||
|
@ -19,6 +19,10 @@
|
||||
#include "pandaSystem.h"
|
||||
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAEXPRESS)
|
||||
#error Buildsystem error: BUILDING_PANDAEXPRESS not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_downloader);
|
||||
NotifyCategoryDef(downloader, "");
|
||||
|
||||
|
@ -27,6 +27,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDADX)
|
||||
#error Buildsystem error: BUILDING_PANDADX not defined
|
||||
#endif
|
||||
|
||||
DToolConfigure(config_dxgsg9);
|
||||
NotifyCategoryDef(dxgsg9, ":display:gsg");
|
||||
NotifyCategoryDef(wdxdisplay9, "display");
|
||||
|
@ -19,6 +19,10 @@ BEGIN_PUBLISH
|
||||
#include "tinyxml.h"
|
||||
END_PUBLISH
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_DXML)
|
||||
#error Buildsystem error: BUILDING_PANDA_DXML not defined
|
||||
#endif
|
||||
|
||||
Configure(config_dxml);
|
||||
NotifyCategoryDef(dxml, "");
|
||||
|
||||
|
@ -58,6 +58,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAEGG)
|
||||
#error Buildsystem error: BUILDING_PANDAEGG not defined
|
||||
#endif
|
||||
|
||||
Configure(config_egg);
|
||||
NotifyCategoryDef(egg, "");
|
||||
|
||||
|
@ -20,6 +20,10 @@
|
||||
#include "configVariableCore.h"
|
||||
#include "eggRenderState.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAEGG)
|
||||
#error Buildsystem error: BUILDING_PANDAEGG not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_egg2pg);
|
||||
NotifyCategoryDef(egg2pg, "");
|
||||
|
||||
|
@ -19,6 +19,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAGLES) && !defined(BUILDING_PANDAGLES2)
|
||||
#error Buildsystem error: BUILDING_PANDAGLES(2) not defined
|
||||
#endif
|
||||
|
||||
Configure(config_egldisplay);
|
||||
NotifyCategoryDef(egldisplay, "display");
|
||||
|
||||
|
@ -27,6 +27,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_EVENT)
|
||||
#error Buildsystem error: BUILDING_PANDA_EVENT not defined
|
||||
#endif
|
||||
|
||||
Configure(config_event);
|
||||
NotifyCategoryDef(event, "");
|
||||
NotifyCategoryDef(task, "");
|
||||
|
@ -36,6 +36,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "streamWrapper.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAEXPRESS)
|
||||
#error Buildsystem error: BUILDING_PANDAEXPRESS not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_express);
|
||||
NotifyCategoryDef(express, "");
|
||||
NotifyCategoryDef(clock, ":express");
|
||||
|
@ -24,6 +24,10 @@ extern "C" {
|
||||
#include "libavcodec/avcodec.h"
|
||||
}
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_FFMPEG)
|
||||
#error Buildsystem error: BUILDING_FFMPEG not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_ffmpeg);
|
||||
NotifyCategoryDef(ffmpeg, "");
|
||||
|
||||
|
@ -22,6 +22,10 @@
|
||||
|
||||
#include "checkPandaVersion.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_FRAMEWORK)
|
||||
#error Buildsystem error: BUILDING_FRAMEWORK not defined
|
||||
#endif
|
||||
|
||||
Configure(config_framework);
|
||||
NotifyCategoryDef(framework, "");
|
||||
|
||||
|
@ -16,6 +16,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAGLES2)
|
||||
#error Buildsystem error: BUILDING_PANDAGLES2 not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_gles2gsg);
|
||||
NotifyCategoryDef(gles2gsg, ":display:gsg");
|
||||
|
||||
|
@ -16,6 +16,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAGLES)
|
||||
#error Buildsystem error: BUILDING_PANDAGLES not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_glesgsg);
|
||||
NotifyCategoryDef(glesgsg, ":display:gsg");
|
||||
|
||||
|
@ -16,6 +16,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAGL)
|
||||
#error Buildsystem error: BUILDING_PANDAGL not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_glgsg);
|
||||
NotifyCategoryDef(glgsg, ":display:gsg");
|
||||
|
||||
|
@ -23,6 +23,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAGL)
|
||||
#error Buildsystem error: BUILDING_PANDAGL not defined
|
||||
#endif
|
||||
|
||||
Configure(config_glxdisplay);
|
||||
NotifyCategoryDef(glxdisplay, "display");
|
||||
|
||||
|
@ -70,6 +70,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "string_utils.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_GOBJ)
|
||||
#error Buildsystem error: BUILDING_PANDA_GOBJ not defined
|
||||
#endif
|
||||
|
||||
Configure(config_gobj);
|
||||
NotifyCategoryDef(gobj, "");
|
||||
NotifyCategoryDef(shader, "");
|
||||
|
@ -27,6 +27,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_GRUTIL)
|
||||
#error Buildsystem error: BUILDING_PANDA_GRUTIL not defined
|
||||
#endif
|
||||
|
||||
Configure(config_grutil);
|
||||
NotifyCategoryDef(grutil, "");
|
||||
|
||||
|
@ -17,6 +17,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_GSGBASE)
|
||||
#error Buildsystem error: BUILDING_PANDA_GSGBASE not defined
|
||||
#endif
|
||||
|
||||
Configure(config_gsgbase);
|
||||
|
||||
ConfigureFn(config_gsgbase) {
|
||||
|
@ -17,6 +17,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_LINMATH)
|
||||
#error Buildsystem error: BUILDING_PANDA_LINMATH not defined
|
||||
#endif
|
||||
|
||||
Configure(config_linmath);
|
||||
NotifyCategoryDef(linmath, "");
|
||||
|
||||
|
@ -26,6 +26,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_MATHUTIL)
|
||||
#error Buildsystem error: BUILDING_PANDA_MATHUTIL not defined
|
||||
#endif
|
||||
|
||||
Configure(config_mathutil);
|
||||
NotifyCategoryDef(mathutil, "");
|
||||
|
||||
|
@ -32,6 +32,10 @@
|
||||
#include "wavAudio.h"
|
||||
#include "wavAudioCursor.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_MOVIES)
|
||||
#error Buildsystem error: BUILDING_PANDA_MOVIES not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_movies);
|
||||
NotifyCategoryDef(movies, "");
|
||||
|
||||
|
@ -26,6 +26,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_NATIVENET)
|
||||
#error Buildsystem error: BUILDING_PANDA_NATIVENET not defined
|
||||
#endif
|
||||
|
||||
Configure(config_nativenet);
|
||||
NotifyCategoryDef(nativenet, "");
|
||||
|
||||
|
@ -18,6 +18,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_NET)
|
||||
#error Buildsystem error: BUILDING_PANDA_NET not defined
|
||||
#endif
|
||||
|
||||
Configure(config_net);
|
||||
NotifyCategoryDef(net, "");
|
||||
|
||||
|
@ -47,6 +47,10 @@
|
||||
#include "odeCollisionEntry.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAODE)
|
||||
#error Buildsystem error: BUILDING_PANDAODE not defined
|
||||
#endif
|
||||
|
||||
Configure(config_ode);
|
||||
NotifyCategoryDef(ode, "");
|
||||
NotifyCategoryDef(odeworld, "ode");
|
||||
|
@ -20,6 +20,10 @@
|
||||
#include "pandaSystem.h"
|
||||
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAGL)
|
||||
#error Buildsystem error: BUILDING_PANDAGL not defined
|
||||
#endif
|
||||
|
||||
Configure(config_osxdisplay);
|
||||
|
||||
NotifyCategoryDef(osxdisplay, "display");
|
||||
|
@ -22,6 +22,10 @@
|
||||
#include "ropeNode.h"
|
||||
#include "sheetNode.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PARAMETRICS)
|
||||
#error Buildsystem error: BUILDING_PANDA_PARAMETRICS not defined
|
||||
#endif
|
||||
|
||||
Configure(config_parametrics);
|
||||
NotifyCategoryDef(parametrics, "");
|
||||
|
||||
|
@ -16,6 +16,10 @@
|
||||
#include "geomParticleRenderer.h"
|
||||
#include "geomNode.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAPHYSICS)
|
||||
#error Buildsystem error: BUILDING_PANDAPHYSICS not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_particlesystem);
|
||||
NotifyCategoryDef(particlesystem, "");
|
||||
|
||||
|
@ -92,6 +92,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PGRAPH)
|
||||
#error Buildsystem error: BUILDING_PANDA_PGRAPH not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_pgraph);
|
||||
NotifyCategoryDef(pgraph, "");
|
||||
NotifyCategoryDef(loader, "");
|
||||
|
@ -37,6 +37,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PGRAPHNODES)
|
||||
#error Buildsystem error: BUILDING_PANDA_PGRAPHNODES not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_pgraphnodes);
|
||||
NotifyCategoryDef(pgraphnodes, "");
|
||||
|
||||
|
@ -28,6 +28,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PGUI)
|
||||
#error Buildsystem error: BUILDING_PANDA_PGUI not defined
|
||||
#endif
|
||||
|
||||
Configure(config_pgui);
|
||||
NotifyCategoryDef(pgui, "");
|
||||
|
||||
|
@ -26,6 +26,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAPHYSICS)
|
||||
#error Buildsystem error: BUILDING_PANDAPHYSICS not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_physics);
|
||||
NotifyCategoryDef(physics, "");
|
||||
|
||||
|
@ -67,6 +67,10 @@
|
||||
#include "physxWheel.h"
|
||||
#include "physxWheelShape.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAPHYSX)
|
||||
#error Buildsystem error: BUILDING_PANDAPHYSX not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_physx);
|
||||
NotifyCategoryDef(physx, "");
|
||||
|
||||
|
@ -20,6 +20,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PIPELINE)
|
||||
#error Buildsystem error: BUILDING_PANDA_PIPELINE not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_pipeline);
|
||||
NotifyCategoryDef(pipeline, "");
|
||||
NotifyCategoryDef(thread, "");
|
||||
|
@ -17,6 +17,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PNMIMAGE)
|
||||
#error Buildsystem error: BUILDING_PANDA_PNMIMAGE not defined
|
||||
#endif
|
||||
|
||||
Configure(config_pnmimage);
|
||||
NotifyCategoryDef(pnmimage, "");
|
||||
|
||||
|
@ -32,6 +32,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PNMIMAGETYPES)
|
||||
#error Buildsystem error: BUILDING_PANDA_PNMIMAGETYPES not defined
|
||||
#endif
|
||||
|
||||
Configure(config_pnmimagetypes);
|
||||
NotifyCategoryDefName(pnmimage_sgi, "sgi", pnmimage_cat);
|
||||
NotifyCategoryDefName(pnmimage_tga, "tga", pnmimage_cat);
|
||||
|
@ -16,6 +16,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "freetypeFace.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PNMTEXT)
|
||||
#error Buildsystem error: BUILDING_PANDA_PNMTEXT not defined
|
||||
#endif
|
||||
|
||||
Configure(config_pnmtext);
|
||||
NotifyCategoryDef(pnmtext, "");
|
||||
|
||||
|
@ -15,6 +15,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PSTATCLIENT)
|
||||
#error Buildsystem error: BUILDING_PANDA_PSTATCLIENT not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_pstats);
|
||||
NotifyCategoryDef(pstats, "");
|
||||
|
||||
|
@ -47,6 +47,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_PUTIL)
|
||||
#error Buildsystem error: BUILDING_PANDA_PUTIL not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_util);
|
||||
NotifyCategoryDef(util, "");
|
||||
NotifyCategoryDef(bam, util_cat);
|
||||
|
@ -22,6 +22,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_RECORDER)
|
||||
#error Buildsystem error: BUILDING_PANDA_RECORDER not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_recorder);
|
||||
NotifyCategoryDef(recorder, "");
|
||||
|
||||
|
@ -26,6 +26,10 @@
|
||||
#include <Rocket/Core.h>
|
||||
#undef Factory
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_ROCKET)
|
||||
#error Buildsystem error: BUILDING_ROCKET not defined
|
||||
#endif
|
||||
|
||||
Configure(config_rocket);
|
||||
NotifyCategoryDef(rocket, "");
|
||||
|
||||
|
@ -16,6 +16,10 @@
|
||||
#include "typedSkel.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDASKEL)
|
||||
#error Buildsystem error: BUILDING_PANDASKEL not defined
|
||||
#endif
|
||||
|
||||
Configure(config_skel);
|
||||
NotifyCategoryDef(skel, "");
|
||||
|
||||
|
@ -21,6 +21,10 @@
|
||||
#include "loaderFileTypeRegistry.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDASPEEDTREE)
|
||||
#error Buildsystem error: BUILDING_PANDASPEEDTREE not defined
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_speedtree);
|
||||
NotifyCategoryDef(speedtree, "");
|
||||
|
||||
|
@ -27,6 +27,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "config_express.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_TEXT)
|
||||
#error Buildsystem error: BUILDING_PANDA_TEXT not defined
|
||||
#endif
|
||||
|
||||
Configure(config_text);
|
||||
NotifyCategoryDef(text, "");
|
||||
|
||||
|
@ -25,6 +25,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_TFORM)
|
||||
#error Buildsystem error: BUILDING_PANDA_TFORM not defined
|
||||
#endif
|
||||
|
||||
Configure(config_tform);
|
||||
NotifyCategoryDef(tform, "");
|
||||
|
||||
|
@ -29,6 +29,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_TINYDISPLAY)
|
||||
#error Buildsystem error: BUILDING_TINYDISPLAY not defined
|
||||
#endif
|
||||
|
||||
Configure(config_tinydisplay);
|
||||
NotifyCategoryDef(tinydisplay, "display");
|
||||
|
||||
|
@ -23,6 +23,10 @@
|
||||
#include "texturePool.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_VISION)
|
||||
#error Buildsystem error: BUILDING_VISION not defined
|
||||
#endif
|
||||
|
||||
Configure(config_vision);
|
||||
NotifyCategoryDef(vision, "");
|
||||
|
||||
|
@ -21,6 +21,10 @@
|
||||
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_VRPN)
|
||||
#error Buildsystem error: BUILDING_VRPN not defined
|
||||
#endif
|
||||
|
||||
Configure(config_vrpn);
|
||||
NotifyCategoryDef(vrpn, "");
|
||||
|
||||
|
@ -20,6 +20,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAGL)
|
||||
#error Buildsystem error: BUILDING_PANDAGL not defined
|
||||
#endif
|
||||
|
||||
Configure(config_wgldisplay);
|
||||
NotifyCategoryDef(wgldisplay, "display");
|
||||
|
||||
|
@ -16,6 +16,10 @@
|
||||
#include "winGraphicsWindow.h"
|
||||
#include "dconfig.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAWIN)
|
||||
#error Buildsystem error: BUILDING_PANDAWIN not defined
|
||||
#endif
|
||||
|
||||
Configure(config_windisplay);
|
||||
NotifyCategoryDef(windisplay, "display");
|
||||
|
||||
|
@ -18,6 +18,10 @@
|
||||
#include "dconfig.h"
|
||||
#include "pandaSystem.h"
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(BUILDING_PANDAX11)
|
||||
#error Buildsystem error: BUILDING_PANDAX11 not defined
|
||||
#endif
|
||||
|
||||
Configure(config_x11display);
|
||||
NotifyCategoryDef(x11display, "display");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user