فهرست منبع

use combined srcs

cxgeorge 24 سال پیش
والد
کامیت
70ed8bef9e
3فایلهای تغییر یافته به همراه27 افزوده شده و 8 حذف شده
  1. 12 8
      panda/src/sgraph/Sources.pp
  2. 8 0
      panda/src/sgraph/sgraph_composite1.cxx
  3. 7 0
      panda/src/sgraph/sgraph_composite2.cxx

+ 12 - 8
panda/src/sgraph/Sources.pp

@@ -5,16 +5,20 @@
   #define TARGET sgraph
   #define LOCAL_LIBS \
     gobj putil graph mathutil linmath
+    
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx    
 
   #define SOURCES \
-    camera.I camera.cxx camera.h config_sgraph.cxx config_sgraph.h \
-    geomNode.I geomNode.cxx geomNode.h geomTransformer.I \
-    geomTransformer.cxx geomTransformer.h modelNode.I modelNode.cxx \
-    modelNode.h modelRoot.I modelRoot.cxx modelRoot.h \
-    planeNode.I planeNode.cxx \
-    planeNode.h projectionNode.I projectionNode.cxx projectionNode.h \
-    renderTraverser.I renderTraverser.cxx renderTraverser.h \
-    switchNode.I switchNode.cxx switchNode.h
+     camera.I camera.h config_sgraph.h geomNode.I geomNode.h  \
+     geomTransformer.I geomTransformer.h modelNode.I modelNode.h  \
+     modelRoot.I modelRoot.h planeNode.I planeNode.h  \
+     projectionNode.I projectionNode.h renderTraverser.I  \
+     renderTraverser.h switchNode.I switchNode.h  
+
+  #define INCLUDED_SOURCES  \
+     camera.cxx config_sgraph.cxx geomNode.cxx geomTransformer.cxx  \
+     modelNode.cxx modelRoot.cxx planeNode.cxx projectionNode.cxx  \
+     renderTraverser.cxx switchNode.cxx 
 
   #define INSTALL_HEADERS \
     camera.I camera.h config_sgraph.h \

+ 8 - 0
panda/src/sgraph/sgraph_composite1.cxx

@@ -0,0 +1,8 @@
+
+#include "geomNode.cxx"
+#include "geomTransformer.cxx"
+#include "modelNode.cxx"
+#include "modelRoot.cxx"
+#include "planeNode.cxx"
+
+

+ 7 - 0
panda/src/sgraph/sgraph_composite2.cxx

@@ -0,0 +1,7 @@
+
+#include "config_sgraph.cxx"
+#include "camera.cxx"
+#include "projectionNode.cxx"
+#include "renderTraverser.cxx"
+#include "switchNode.cxx"
+