Bläddra i källkod

use combined srcs

cxgeorge 24 år sedan
förälder
incheckning
52c20f043e

+ 18 - 13
panda/src/mathutil/Sources.pp

@@ -8,19 +8,24 @@
   #define USE_FFTW yes
   #define UNIX_SYS_LIBS m
 
-  #define SOURCES \
-    boundingHexahedron.I boundingHexahedron.cxx boundingHexahedron.h  \
-    boundingLine.I boundingLine.cxx boundingLine.h boundingSphere.I \
-    boundingSphere.cxx boundingSphere.h boundingVolume.I \
-    boundingVolume.cxx boundingVolume.h config_mathutil.cxx \
-    config_mathutil.h fftCompressor.cxx fftCompressor.h \
-    finiteBoundingVolume.cxx finiteBoundingVolume.h frustum.h \
-    frustum_src.I frustum_src.h geometricBoundingVolume.I \
-    geometricBoundingVolume.cxx geometricBoundingVolume.h look_at.cxx \
-    look_at.h look_at_src.I look_at_src.cxx look_at_src.h \
-    omniBoundingVolume.I omniBoundingVolume.cxx omniBoundingVolume.h \
-    plane.cxx plane.h plane_src.I plane_src.cxx plane_src.h \
-    rotate_to.cxx rotate_to.h rotate_to_src.cxx
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx 
+
+  #define SOURCES  \
+     boundingHexahedron.I boundingHexahedron.h boundingLine.I  \
+     boundingLine.h boundingSphere.I boundingSphere.h  \
+     boundingVolume.I boundingVolume.h config_mathutil.h  \
+     fftCompressor.h finiteBoundingVolume.h frustum.h  \
+     frustum_src.I frustum_src.h geometricBoundingVolume.I  \
+     geometricBoundingVolume.h look_at.h look_at_src.I  \
+     look_at_src.cxx look_at_src.h omniBoundingVolume.I  \
+     omniBoundingVolume.h plane.h plane_src.I plane_src.cxx  \
+     plane_src.h rotate_to.h rotate_to_src.cxx
+     
+  #define INCLUDED_SOURCES \
+     boundingHexahedron.cxx boundingLine.cxx boundingSphere.cxx  \
+     boundingVolume.cxx config_mathutil.cxx fftCompressor.cxx  \
+     finiteBoundingVolume.cxx geometricBoundingVolume.cxx  \
+     look_at.cxx omniBoundingVolume.cxx plane.cxx rotate_to.cxx
 
   #define INSTALL_HEADERS \
     boundingHexahedron.I boundingHexahedron.h boundingLine.I \

+ 9 - 0
panda/src/mathutil/mathutil_composite1.cxx

@@ -0,0 +1,9 @@
+
+#include "boundingVolume.cxx"
+#include "boundingHexahedron.cxx"
+#include "boundingLine.cxx"
+#include "boundingSphere.cxx"
+#include "finiteBoundingVolume.cxx"
+#include "geometricBoundingVolume.cxx"
+#include "omniBoundingVolume.cxx"
+

+ 7 - 0
panda/src/mathutil/mathutil_composite2.cxx

@@ -0,0 +1,7 @@
+
+#include "config_mathutil.cxx"
+#include "plane.cxx"
+#include "rotate_to.cxx"
+#include "look_at.cxx"
+#include "fftCompressor.cxx"
+