Bläddra i källkod

use combined srcs

cxgeorge 24 år sedan
förälder
incheckning
06a8f3e620
2 ändrade filer med 17 tillägg och 5 borttagningar
  1. 12 5
      panda/src/glgsg/Sources.pp
  2. 5 0
      panda/src/glgsg/glgsg_composite1.cxx

+ 12 - 5
panda/src/glgsg/Sources.pp

@@ -9,13 +9,20 @@
   #define LOCAL_LIBS \
     cull gsgmisc gsgbase gobj sgattrib sgraphutil graph display light \
     putil linmath sgraph mathutil pnmimage
+    
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx 
 
   #define SOURCES \
-    config_glgsg.cxx config_glgsg.h glGraphicsStateGuardian.I \
-    glGraphicsStateGuardian.cxx glGraphicsStateGuardian.h \
-    glSavedFrameBuffer.I glSavedFrameBuffer.cxx glSavedFrameBuffer.h \
-    glTextureContext.I glGeomNodeContext.I glGeomNodeContext.cxx \
-    glGeomNodeContext.h glTextureContext.cxx glTextureContext.h
+     glGraphicsStateGuardian.cxx \
+     config_glgsg.h glGraphicsStateGuardian.I \
+     glGraphicsStateGuardian.h glSavedFrameBuffer.I \
+     glSavedFrameBuffer.h glTextureContext.I \
+     glGeomNodeContext.I glGeomNodeContext.h  glTextureContext.h
+
+  #define INCLUDED_SOURCES \
+     config_glgsg.cxx glSavedFrameBuffer.cxx \
+     glGeomNodeContext.cxx glTextureContext.cxx 
+
 
   #define INSTALL_HEADERS \
     config_glgsg.h glGraphicsStateGuardian.I glGraphicsStateGuardian.h

+ 5 - 0
panda/src/glgsg/glgsg_composite1.cxx

@@ -0,0 +1,5 @@
+
+#include "config_glgsg.cxx"
+#include "glSavedFrameBuffer.cxx"
+#include "glGeomNodeContext.cxx"
+#include "glTextureContext.cxx"