From 43332362df676e1966286bbac8255207829f90a2 Mon Sep 17 00:00:00 2001 From: kestred Date: Tue, 21 Jan 2014 22:12:53 -0700 Subject: [PATCH] Add CMakeLists.txt for panda/chan --- panda/CMakeLists.txt | 4 ++- panda/src/chan/CMakeLists.txt | 56 +++++++++++++++++++++++++++++ panda/src/chan/movingPartMatrix.cxx | 1 + panda/src/chan/movingPartScalar.cxx | 1 + panda/src/chan/partBundle.cxx | 2 ++ panda/src/chan/partGroup.cxx | 1 + 6 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 panda/src/chan/CMakeLists.txt diff --git a/panda/CMakeLists.txt b/panda/CMakeLists.txt index bad0d467a6..911722d10b 100644 --- a/panda/CMakeLists.txt +++ b/panda/CMakeLists.txt @@ -31,7 +31,9 @@ add_subdirectory(src/gobj) add_subdirectory(src/pgraph) add_subdirectory(src/pgraphnodes) add_subdirectory(src/cull) - add_subdirectory(src/display) +add_subdirectory(src/chan) +#add_subdirectory(src/char) + #add_subdirectory(src/framework) #add_subdirectory(src/testbed) diff --git a/panda/src/chan/CMakeLists.txt b/panda/src/chan/CMakeLists.txt new file mode 100644 index 0000000000..53f4f64fc9 --- /dev/null +++ b/panda/src/chan/CMakeLists.txt @@ -0,0 +1,56 @@ +set(P3CHAN_HEADERS + animBundle.I animBundle.h + animBundleNode.I animBundleNode.h + animChannel.I animChannel.h animChannelBase.I + animChannelBase.h + animChannelMatrixDynamic.I animChannelMatrixDynamic.h + animChannelMatrixFixed.I animChannelMatrixFixed.h + animChannelMatrixXfmTable.I animChannelMatrixXfmTable.h + animChannelScalarDynamic.I animChannelScalarDynamic.h + animChannelScalarTable.I animChannelScalarTable.h + animControl.I + animControl.h animControlCollection.I + animControlCollection.h animGroup.I animGroup.h + animPreloadTable.I animPreloadTable.h + auto_bind.h + bindAnimRequest.I bindAnimRequest.h + config_chan.h + movingPart.I movingPart.h + movingPartBase.I movingPartBase.h + movingPartMatrix.I movingPartMatrix.h movingPartScalar.I + movingPartScalar.h partBundle.I partBundle.h + partBundleHandle.I partBundleHandle.h + partBundleNode.I partBundleNode.h + partGroup.I partGroup.h + partSubset.I partSubset.h + vector_PartGroupStar.h +) + +set(P3CHAN_SOURCES + animBundle.cxx + animBundleNode.cxx + animChannel.cxx + animChannelBase.cxx + animChannelMatrixDynamic.cxx + animChannelMatrixFixed.cxx + animChannelMatrixXfmTable.cxx + animChannelScalarDynamic.cxx + animChannelScalarTable.cxx + animControl.cxx + animControlCollection.cxx animGroup.cxx + animPreloadTable.cxx + auto_bind.cxx + bindAnimRequest.cxx + config_chan.cxx movingPartBase.cxx movingPartMatrix.cxx + movingPartScalar.cxx partBundle.cxx + partBundleHandle.cxx + partBundleNode.cxx + partGroup.cxx + partSubset.cxx + vector_PartGroupStar.cxx +) + +composite_sources(p3chan P3CHAN_SOURCES) +add_library(p3chan ${P3CHAN_HEADERS} ${P3CHAN_SOURCES}) +target_link_libraries(p3chan p3pgraph) +target_interrogate(p3chan ALL) diff --git a/panda/src/chan/movingPartMatrix.cxx b/panda/src/chan/movingPartMatrix.cxx index ad9b836fcf..de9d60e2a0 100644 --- a/panda/src/chan/movingPartMatrix.cxx +++ b/panda/src/chan/movingPartMatrix.cxx @@ -21,6 +21,7 @@ #include "datagramIterator.h" #include "bamReader.h" #include "bamWriter.h" +#include "config_chan.h" // Tell GCC that we'll take care of the instantiation explicitly here. #ifdef __GNUC__ diff --git a/panda/src/chan/movingPartScalar.cxx b/panda/src/chan/movingPartScalar.cxx index 4fc34e79dc..7f5260c7a7 100644 --- a/panda/src/chan/movingPartScalar.cxx +++ b/panda/src/chan/movingPartScalar.cxx @@ -19,6 +19,7 @@ #include "datagramIterator.h" #include "bamReader.h" #include "bamWriter.h" +#include "config_chan.h" // Tell GCC that we'll take care of the instantiation explicitly here. #ifdef __GNUC__ diff --git a/panda/src/chan/partBundle.cxx b/panda/src/chan/partBundle.cxx index 2a837cb76d..6a7d405f99 100644 --- a/panda/src/chan/partBundle.cxx +++ b/panda/src/chan/partBundle.cxx @@ -29,6 +29,8 @@ #include "bamWriter.h" #include "configVariableEnum.h" #include "loaderOptions.h" +#include "bindAnimRequest.h" +#include "transformState.h" #include diff --git a/panda/src/chan/partGroup.cxx b/panda/src/chan/partGroup.cxx index 16dab291b7..3b4a65d057 100644 --- a/panda/src/chan/partGroup.cxx +++ b/panda/src/chan/partGroup.cxx @@ -22,6 +22,7 @@ #include "datagramIterator.h" #include "bamReader.h" #include "bamWriter.h" +#include "transformState.h" #include