Pārlūkot izejas kodu

use combined srcs

cxgeorge 24 gadi atpakaļ
vecāks
revīzija
ad279c1214

+ 12 - 8
panda/src/tform/Sources.pp

@@ -7,14 +7,18 @@
     dgraph graph linmath sgattrib display event putil gobj gsgbase \
     mathutil sgraph device sgraphutil
 
-  #define SOURCES \
-    buttonThrower.cxx buttonThrower.h config_tform.cxx config_tform.h \
-    dataValve.I dataValve.cxx dataValve.h driveInterface.I \
-    driveInterface.cxx driveInterface.h mouseWatcher.I mouseWatcher.cxx \
-    mouseWatcher.h mouseWatcherRegion.I mouseWatcherRegion.cxx \
-    mouseWatcherRegion.h planarSlider.cxx planarSlider.h trackball.cxx \
-    trackball.h \
-    transform2sg.cxx transform2sg.h
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx 
+
+  #define SOURCES  \
+     buttonThrower.h config_tform.h dataValve.I dataValve.h  \
+     driveInterface.I driveInterface.h mouseWatcher.I  \
+     mouseWatcher.h mouseWatcherRegion.I mouseWatcherRegion.h  \
+     planarSlider.h trackball.h transform2sg.h  
+     
+  #define INCLUDED_SOURCES  \
+     buttonThrower.cxx config_tform.cxx dataValve.cxx  \
+     driveInterface.cxx mouseWatcher.cxx mouseWatcherRegion.cxx  \
+     planarSlider.cxx trackball.cxx transform2sg.cxx 
 
   #define INSTALL_HEADERS \
     buttonThrower.h dataValve.I dataValve.h \

+ 6 - 0
panda/src/tform/tform_composite1.cxx

@@ -0,0 +1,6 @@
+
+#include "buttonThrower.cxx"
+#include "config_tform.cxx"
+#include "dataValve.cxx"
+#include "driveInterface.cxx"
+

+ 7 - 0
panda/src/tform/tform_composite2.cxx

@@ -0,0 +1,7 @@
+
+#include "mouseWatcher.cxx"
+#include "mouseWatcherRegion.cxx"
+#include "planarSlider.cxx"
+#include "trackball.cxx"
+#include "transform2sg.cxx"
+