瀏覽代碼

use combined srcs

cxgeorge 24 年之前
父節點
當前提交
8299f5df78
共有 2 個文件被更改,包括 17 次插入6 次删除
  1. 10 6
      panda/src/sgmanip/Sources.pp
  2. 7 0
      panda/src/sgmanip/sgmanip_composite1.cxx

+ 10 - 6
panda/src/sgmanip/Sources.pp

@@ -6,13 +6,17 @@
   #define LOCAL_LIBS \
     cull dgraph loader sgraphutil sgattrib sgraph linmath lerp
 
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx
+
   #define SOURCES \
-    config_sgmanip.cxx config_sgmanip.h findApproxLevel.I \
-    findApproxLevel.cxx findApproxLevel.h findApproxPath.I \
-    findApproxPath.cxx findApproxPath.h nodePath.I nodePath.cxx \
-    nodePath.h nodePathBase.I nodePathBase.cxx nodePathBase.h \
-    nodePathCollection.I nodePathCollection.cxx nodePathCollection.h \
-    nodePathLerps.cxx nodePathLerps.h
+     config_sgmanip.h findApproxLevel.I findApproxLevel.h  \
+     findApproxPath.I findApproxPath.h nodePath.I nodePath.h  \
+     nodePathBase.I nodePathBase.h nodePathCollection.I  \
+     nodePathCollection.h nodePathLerps.h nodePath.cxx
+    
+  #define INCLUDED_SOURCES \
+     config_sgmanip.cxx findApproxLevel.cxx findApproxPath.cxx  \
+     nodePathBase.cxx nodePathCollection.cxx nodePathLerps.cxx 
 
   #define INSTALL_HEADERS \
     nodePath.I nodePath.h nodePathBase.I nodePathBase.h \

+ 7 - 0
panda/src/sgmanip/sgmanip_composite1.cxx

@@ -0,0 +1,7 @@
+
+#include "config_sgmanip.cxx"
+#include "findApproxLevel.cxx"
+#include "findApproxPath.cxx"
+#include "nodePathBase.cxx"
+#include "nodePathCollection.cxx"
+#include "nodePathLerps.cxx"