diff --git a/panda/src/char/Sources.pp b/panda/src/char/Sources.pp index 82273b8532..dab509fb78 100644 --- a/panda/src/char/Sources.pp +++ b/panda/src/char/Sources.pp @@ -6,15 +6,20 @@ #define LOCAL_LIBS \ chan graph sgraph linmath putil event sgattrib mathutil gsgbase \ pstatclient + + #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx #define SOURCES \ - character.I character.cxx character.h characterJoint.cxx \ - characterJoint.h characterJointBundle.I characterJointBundle.cxx \ - characterJointBundle.h characterSlider.cxx characterSlider.h \ - computedVertices.I computedVertices.cxx computedVertices.h \ - computedVerticesMorph.I computedVerticesMorph.cxx \ - computedVerticesMorph.h config_char.cxx config_char.h \ - dynamicVertices.cxx dynamicVertices.h + character.I character.h characterJoint.h characterJointBundle.I \ + characterJointBundle.h characterSlider.h computedVertices.I \ + computedVertices.h computedVerticesMorph.I \ + computedVerticesMorph.h config_char.h dynamicVertices.h + + #define INCLUDED_SOURCES \ + character.cxx characterJoint.cxx characterJointBundle.cxx \ + characterSlider.cxx computedVertices.cxx \ + computedVerticesMorph.cxx config_char.cxx \ + dynamicVertices.cxx #define INSTALL_HEADERS \ character.I character.h characterJoint.h characterJointBundle.I \ @@ -22,7 +27,7 @@ computedVertices.h computedVerticesMorph.I computedVerticesMorph.h \ config_char.h dynamicVertices.h - #define PRECOMPILED_HEADER char_headers.h +// #define PRECOMPILED_HEADER char_headers.h #define IGATESCAN all diff --git a/panda/src/char/char_composite1.cxx b/panda/src/char/char_composite1.cxx new file mode 100644 index 0000000000..1fc52363d8 --- /dev/null +++ b/panda/src/char/char_composite1.cxx @@ -0,0 +1,6 @@ + +#include "config_char.cxx" +#include "character.cxx" +#include "characterJoint.cxx" +#include "characterJointBundle.cxx" + diff --git a/panda/src/char/char_composite2.cxx b/panda/src/char/char_composite2.cxx new file mode 100644 index 0000000000..b6bfd490c4 --- /dev/null +++ b/panda/src/char/char_composite2.cxx @@ -0,0 +1,6 @@ + +#include "characterSlider.cxx" +#include "computedVertices.cxx" +#include "computedVerticesMorph.cxx" +#include "dynamicVertices.cxx" +