浏览代码

use combined srcs

cxgeorge 24 年之前
父节点
当前提交
1a5076a528
共有 2 个文件被更改,包括 9 次插入2 次删除
  1. 6 2
      panda/src/wgldisplay/Sources.pp
  2. 3 0
      panda/src/wgldisplay/wgldisplay_composite1.cxx

+ 6 - 2
panda/src/wgldisplay/Sources.pp

@@ -7,10 +7,14 @@
   #define TARGET wgldisplay
   #define LOCAL_LIBS \
     glgsg display putil
+    
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx 
 
   #define SOURCES \
-    config_wgldisplay.cxx config_wgldisplay.h wglGraphicsPipe.cxx \
-    wglGraphicsPipe.h wglGraphicsWindow.cxx wglGraphicsWindow.h
+    config_wgldisplay.h wglGraphicsPipe.h wglGraphicsWindow.cxx wglGraphicsWindow.h
+    
+  #define INCLUDED_SOURCES \
+    config_wgldisplay.cxx wglGraphicsPipe.cxx
 
   #define INSTALL_HEADERS \
      config_wgldisplay.h wglGraphicsPipe.h wglGraphicsWindow.h

+ 3 - 0
panda/src/wgldisplay/wgldisplay_composite1.cxx

@@ -0,0 +1,3 @@
+
+#include"config_wgldisplay.cxx"
+#include"wglGraphicsPipe.cxx"