Browse Source

use combined srcs

cxgeorge 24 năm trước cách đây
mục cha
commit
595f5f730d

+ 19 - 14
panda/src/cull/Sources.pp

@@ -6,21 +6,26 @@
   #define LOCAL_LIBS \
     gobj sgraphutil graph putil sgraph mathutil sgattrib display \
     pstatclient
+    
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx    
 
   #define SOURCES \
-    config_cull.cxx config_cull.h cullState.I cullState.cxx cullState.h \
-    cullStateLookup.I cullStateLookup.cxx cullStateLookup.h \
-    cullStateSubtree.I cullStateSubtree.cxx cullStateSubtree.h \
-    cullTraverser.I cullTraverser.cxx cullTraverser.h \
-    directRenderTransition.I directRenderTransition.cxx \
-    directRenderTransition.h geomBin.I geomBin.cxx geomBin.h \
-    geomBinAttribute.I geomBinAttribute.N geomBinAttribute.cxx \
-    geomBinAttribute.h geomBinBackToFront.I geomBinBackToFront.cxx \
-    geomBinBackToFront.h geomBinFixed.I geomBinFixed.cxx geomBinFixed.h \
-    geomBinGroup.I geomBinGroup.cxx geomBinGroup.h geomBinNormal.cxx \
-    geomBinNormal.h geomBinTransition.I geomBinTransition.cxx \
-    geomBinTransition.h geomBinUnsorted.I geomBinUnsorted.cxx \
-    geomBinUnsorted.h
+     config_cull.h cullState.I cullState.h cullStateLookup.I  \
+     cullStateLookup.h cullStateSubtree.I cullStateSubtree.h  \
+     cullTraverser.I cullTraverser.h directRenderTransition.I  \
+     directRenderTransition.h geomBin.I geomBin.h  \
+     geomBinAttribute.I geomBinAttribute.N geomBinAttribute.h  \
+     geomBinBackToFront.I geomBinBackToFront.h geomBinFixed.I  \
+     geomBinFixed.h geomBinGroup.I geomBinGroup.h geomBinNormal.h  \
+     geomBinTransition.I geomBinTransition.h geomBinUnsorted.I  \
+     geomBinUnsorted.h 
+    
+  #define INCLUDED_SOURCES \
+     config_cull.cxx cullState.cxx cullStateLookup.cxx  \
+     cullStateSubtree.cxx cullTraverser.cxx  \
+     directRenderTransition.cxx geomBin.cxx geomBinAttribute.cxx  \
+     geomBinBackToFront.cxx geomBinFixed.cxx geomBinGroup.cxx  \
+     geomBinNormal.cxx geomBinTransition.cxx geomBinUnsorted.cxx 
 
   #define INSTALL_HEADERS \
     config_cull.h cullLevelState.h cullState.I cullState.h \
@@ -35,7 +40,7 @@
 
   #define IGATESCAN all
   
-  #define PRECOMPILED_HEADER cull_headers.h
+//  #define PRECOMPILED_HEADER cull_headers.h
 
 #end lib_target
 

+ 8 - 0
panda/src/cull/cull_composite1.cxx

@@ -0,0 +1,8 @@
+
+#include "config_cull.cxx"
+#include "cullState.cxx"
+#include "cullStateLookup.cxx"
+#include "cullStateSubtree.cxx"
+#include "cullTraverser.cxx"
+#include "directRenderTransition.cxx"
+

+ 10 - 0
panda/src/cull/cull_composite2.cxx

@@ -0,0 +1,10 @@
+
+#include "geomBin.cxx"
+#include "geomBinAttribute.cxx"
+#include "geomBinBackToFront.cxx"
+#include "geomBinFixed.cxx"
+#include "geomBinGroup.cxx"
+#include "geomBinNormal.cxx"
+#include "geomBinTransition.cxx"
+#include "geomBinUnsorted.cxx"
+