mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
adjust sources
This commit is contained in:
parent
c28e02caf1
commit
418fe328f4
@ -13,10 +13,13 @@
|
||||
|
||||
#define COMBINED_SOURCES $[TARGET]_composite1.cxx
|
||||
|
||||
// need to install these due to external projects that link directly with libpandadx (bartop)
|
||||
#define INSTALL_HEADERS \
|
||||
config_dxgsg.h dxGraphicsStateGuardian.I dxGraphicsStateGuardian.h \
|
||||
dxTextureContext.h dxGeomNodeContext.h dxGeomNodeContext.I
|
||||
|
||||
// build dxGraphicsStateGuardian separately since its so big
|
||||
|
||||
#define SOURCES \
|
||||
dxGraphicsStateGuardian.cxx dxSavedFrameBuffer.I dxSavedFrameBuffer.h $[INSTALL_HEADERS]
|
||||
|
||||
|
@ -35,6 +35,10 @@
|
||||
#define D3D_OVERLOADS // get D3DVECTOR '+' operator, etc from d3dtypes.h
|
||||
#include <d3d.h>
|
||||
|
||||
#if DIRECT3D_VERSION != 0x0700
|
||||
#error DX7 headers not available, you need to install MS Platform SDK!
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
DWORD nVerts;
|
||||
D3DPRIMITIVETYPE primtype;
|
||||
|
@ -11,14 +11,18 @@
|
||||
|
||||
#define COMBINED_SOURCES $[TARGET]_composite1.cxx
|
||||
|
||||
#define SOURCES \
|
||||
config_wdxdisplay.h wdxGraphicsPipe.h wdxGraphicsWindow.cxx wdxGraphicsWindow.h
|
||||
// need to install these due to external projects that link directly with libpandadx (bartop)
|
||||
#define INSTALL_HEADERS \
|
||||
config_wdxdisplay.h wdxGraphicsPipe.h wdxGraphicsWindow.h
|
||||
|
||||
#define INCLUDED_SOURCES \
|
||||
config_wdxdisplay.cxx wdxGraphicsPipe.cxx
|
||||
|
||||
#define INSTALL_HEADERS \
|
||||
config_wdxdisplay.h wdxGraphicsPipe.h wdxGraphicsWindow.h
|
||||
// note SOURCES shoult NOT include INCLUDED_SOURCES, that would cause a double build
|
||||
// SOURCES should be headers and separately-built cxx files
|
||||
// build wdxGraphicsWindow.cxx separately since its big
|
||||
|
||||
#define SOURCES wdxGraphicsWindow.cxx $[INSTALL_HEADERS]
|
||||
|
||||
#end lib_target
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user