浏览代码

use combined srcs

cxgeorge 24 年之前
父节点
当前提交
b56906d262
共有 3 个文件被更改,包括 45 次插入16 次删除
  1. 20 16
      panda/src/gobj/Sources.pp
  2. 13 0
      panda/src/gobj/composite1.cxx
  3. 12 0
      panda/src/gobj/composite2.cxx

+ 20 - 16
panda/src/gobj/Sources.pp

@@ -6,23 +6,27 @@
   #define LOCAL_LIBS \
     linmath mathutil pnmimage gsgbase graph putil
 
+  #define COMBINED_SOURCES composite1.cxx composite2.cxx
+
   #define SOURCES \
-    LOD.I LOD.cxx LOD.h config_gobj.cxx config_gobj.h drawable.cxx \
-    drawable.h fog.I fog.cxx fog.h geom.I geom.N geom.cxx geom.h \
-    geomLine.cxx geomLine.h geomLinestrip.cxx geomLinestrip.h \
-    geomPoint.cxx geomPoint.h geomPolygon.cxx geomPolygon.h \
-    geomQuad.cxx geomQuad.h geomSphere.cxx geomSphere.h geomSprite.I \
-    geomSprite.cxx geomSprite.h geomTri.cxx geomTri.h geomTrifan.cxx \
-    geomTrifan.h geomTristrip.cxx geomTristrip.h \
-    imageBuffer.I imageBuffer.cxx \
-    imageBuffer.h material.I material.cxx material.h \
-    materialPool.I materialPool.h materialPool.cxx \
-    orthoProjection.I \
-    orthoProjection.cxx orthoProjection.h perspectiveProjection.I \
-    perspectiveProjection.cxx perspectiveProjection.h pixelBuffer.I \
-    pixelBuffer.N pixelBuffer.cxx pixelBuffer.h projection.cxx \
-    projection.h texture.I texture.N texture.cxx texture.h \
-    texturePool.I texturePool.cxx texturePool.h
+     LOD.I LOD.h config_gobj.h drawable.h fog.I fog.h geom.I geom.N  \
+     geom.h geomLine.h geomLinestrip.h geomPoint.h geomPolygon.h  \
+     geomQuad.h geomSphere.h geomSprite.I geomSprite.h geomTri.h  \
+     geomTrifan.h geomTristrip.h imageBuffer.I imageBuffer.h  \
+     material.I material.h materialPool.I materialPool.h  \
+     orthoProjection.I orthoProjection.h perspectiveProjection.I  \
+     perspectiveProjection.h pixelBuffer.I pixelBuffer.N  \
+     pixelBuffer.h projection.h texture.I texture.N texture.h \
+     texturePool.I texturePool.h $[COMBINED_SOURCES] 
+    
+  #define INCLUDED_SOURCES \
+     LOD.cxx config_gobj.cxx drawable.cxx fog.cxx geom.cxx  \
+     geomLine.cxx geomLinestrip.cxx geomPoint.cxx geomPolygon.cxx  \
+     geomQuad.cxx geomSphere.cxx geomSprite.cxx geomTri.cxx  \
+     geomTrifan.cxx geomTristrip.cxx imageBuffer.cxx material.cxx  \
+     materialPool.cxx orthoProjection.cxx  \
+     perspectiveProjection.cxx pixelBuffer.cxx projection.cxx  \
+     texture.cxx texturePool.cxx
 
   #define INSTALL_HEADERS \
     LOD.I LOD.h config_gobj.h \

+ 13 - 0
panda/src/gobj/composite1.cxx

@@ -0,0 +1,13 @@
+#include "LOD.cxx"
+#include "geom.cxx"
+#include "geomLine.cxx"
+#include "geomLinestrip.cxx"
+#include "geomPoint.cxx"
+#include "geomPolygon.cxx"
+#include "geomQuad.cxx"
+#include "geomSphere.cxx"
+#include "geomSprite.cxx"
+#include "geomTri.cxx"
+#include "geomTrifan.cxx"
+#include "geomTristrip.cxx"
+

+ 12 - 0
panda/src/gobj/composite2.cxx

@@ -0,0 +1,12 @@
+#include "config_gobj.cxx"
+#include "drawable.cxx"
+#include "fog.cxx"
+#include "imageBuffer.cxx"
+#include "material.cxx"
+#include "materialPool.cxx"
+#include "orthoProjection.cxx"
+#include "perspectiveProjection.cxx"
+#include "pixelBuffer.cxx"
+#include "projection.cxx"
+#include "texture.cxx"
+#include "texturePool.cxx"