David Rose 24 years ago
parent
commit
1e3f7e3caf
1 changed files with 9 additions and 4 deletions
  1. 9 4
      panda/src/pgraph/Sources.pp

+ 9 - 4
panda/src/pgraph/Sources.pp

@@ -22,10 +22,9 @@
     renderState.h renderState.I \
     textureAttrib.h textureAttrib.I \
     transformAttrib.h transformAttrib.I
-    
-//  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx    
-//  #define INCLUDED_SOURCES \
-  #define SOURCES $[SOURCES] \
+
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx    
+  #define INCLUDED_SOURCES \
     colorAttrib.cxx \
     config_pgraph.cxx \
     cullHandler.cxx \
@@ -43,6 +42,12 @@
     textureAttrib.cxx \
     transformAttrib.cxx
 
+  #if $[DONT_COMBINE_PGRAPH]    
+    #define SOURCES $[SOURCES] $[INCLUDED_SOURCES]
+    #define INCLUDED_SOURCES
+    #define COMBINED_SOURCES
+  #endif
+
   #define INSTALL_HEADERS \
     pandaNode.h pandaNode.I