Browse Source

Add CMakeLists for panda/tform.

kestred 12 years ago
parent
commit
d624fce61c
3 changed files with 32 additions and 1 deletions
  1. 1 1
      panda/CMakeLists.txt
  2. 30 0
      panda/src/tform/CMakeLists.txt
  3. 1 0
      panda/src/tform/trackball.cxx

+ 1 - 1
panda/CMakeLists.txt

@@ -43,7 +43,7 @@ add_subdirectory(src/pnmtext)
 add_subdirectory(src/parametrics)
 add_subdirectory(src/text)
 add_subdirectory(src/grutil)
+add_subdirectory(src/tform)
 
-#add_subdirectory(src/tform)
 #add_subdirectory(src/framework)
 #add_subdirectory(src/testbed)

+ 30 - 0
panda/src/tform/CMakeLists.txt

@@ -0,0 +1,30 @@
+set(P3TFORM_HEADERS
+  buttonThrower.I buttonThrower.h
+  config_tform.h
+  driveInterface.I driveInterface.h
+  mouseInterfaceNode.I mouseInterfaceNode.h
+  mouseSubregion.I mouseSubregion.h
+  mouseWatcher.I mouseWatcher.h
+  mouseWatcherGroup.h
+  mouseWatcherParameter.I mouseWatcherParameter.h
+  mouseWatcherRegion.I mouseWatcherRegion.h
+  trackball.h
+  transform2sg.h
+)
+set(P3TFORM_SOURCES
+  buttonThrower.cxx
+  config_tform.cxx
+  driveInterface.cxx
+  mouseInterfaceNode.cxx
+  mouseSubregion.cxx
+  mouseWatcher.cxx
+  mouseWatcherGroup.cxx
+  mouseWatcherParameter.cxx mouseWatcherRegion.cxx
+  trackball.cxx
+  transform2sg.cxx
+)
+
+composite_sources(p3tform P3TFORM_SOURCES)
+add_library(p3tform ${P3TFORM_SOURCES} ${P3TFORM_HEADERS})
+target_link_libraries(p3tform p3device p3grutil)
+target_interrogate(p3tform ALL)

+ 1 - 0
panda/src/tform/trackball.cxx

@@ -22,6 +22,7 @@
 #include "linmath_events.h"
 #include "mouseButton.h"
 #include "keyboardButton.h"
+#include "config_tform.h"
 
 TypeHandle Trackball::_type_handle;