Browse Source

Add CMakeLists for panda/chan.

kestred 12 years ago
parent
commit
d94951a91a
3 changed files with 25 additions and 2 deletions
  1. 1 1
      panda/CMakeLists.txt
  2. 0 1
      panda/src/chan/partBundle.cxx
  3. 24 0
      panda/src/char/CMakeLists.txt

+ 1 - 1
panda/CMakeLists.txt

@@ -33,7 +33,7 @@ add_subdirectory(src/pgraphnodes)
 add_subdirectory(src/cull)
 add_subdirectory(src/display)
 add_subdirectory(src/chan)
-#add_subdirectory(src/char)
+add_subdirectory(src/char)
 
 #add_subdirectory(src/framework)
 #add_subdirectory(src/testbed)

+ 0 - 1
panda/src/chan/partBundle.cxx

@@ -30,7 +30,6 @@
 #include "configVariableEnum.h"
 #include "loaderOptions.h"
 #include "bindAnimRequest.h"
-#include "transformState.h"
 
 #include <algorithm>
 

+ 24 - 0
panda/src/char/CMakeLists.txt

@@ -0,0 +1,24 @@
+set(P3CHAR_HEADERS
+  character.I character.h
+  characterJoint.I characterJoint.h
+  characterJointBundle.I characterJointBundle.h
+  characterJointEffect.h characterJointEffect.I
+  characterSlider.h
+  characterVertexSlider.I characterVertexSlider.h
+  config_char.h
+  jointVertexTransform.I jointVertexTransform.h
+)
+set(P3CHAR_SOURCES
+  character.cxx
+  characterJoint.cxx characterJointBundle.cxx 
+  characterJointEffect.cxx
+  characterSlider.cxx
+  characterVertexSlider.cxx
+  config_char.cxx 
+  jointVertexTransform.cxx
+)
+
+composite_sources(p3char P3CHAR_SOURCES)
+add_library(p3char ${P3CHAR_HEADERS} ${P3CHAR_SOURCES})
+target_link_libraries(p3char p3chan)
+target_interrogate(p3char ALL)