diff --git a/panda/src/sgraph/Sources.pp b/panda/src/sgraph/Sources.pp index 2f72fef8df..95a600c359 100644 --- a/panda/src/sgraph/Sources.pp +++ b/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 \ diff --git a/panda/src/sgraph/sgraph_composite1.cxx b/panda/src/sgraph/sgraph_composite1.cxx new file mode 100644 index 0000000000..81a44d63de --- /dev/null +++ b/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" + + diff --git a/panda/src/sgraph/sgraph_composite2.cxx b/panda/src/sgraph/sgraph_composite2.cxx new file mode 100644 index 0000000000..ca13bb40c0 --- /dev/null +++ b/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" +