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