Browse Source

Add CMakeLists for panda/recorder.

kestred 12 years ago
parent
commit
b19d38f760
2 changed files with 23 additions and 0 deletions
  1. 1 0
      panda/CMakeLists.txt
  2. 22 0
      panda/src/recorder/CMakeLists.txt

+ 1 - 0
panda/CMakeLists.txt

@@ -45,6 +45,7 @@ add_subdirectory(src/text)
 add_subdirectory(src/grutil)
 add_subdirectory(src/tform)
 add_subdirectory(src/pgui)
+add_subdirectory(src/recorder)
 
 #add_subdirectory(src/framework)
 #add_subdirectory(src/testbed)

+ 22 - 0
panda/src/recorder/CMakeLists.txt

@@ -0,0 +1,22 @@
+set(P3RECORDER_HEADERS
+  config_recorder.h
+  mouseRecorder.h
+  recorderBase.h recorderBase.I
+  recorderController.h recorderController.I
+  recorderFrame.h recorderFrame.I
+  recorderHeader.h recorderHeader.I
+  recorderTable.h recorderTable.I
+  socketStreamRecorder.h socketStreamRecorder.I
+)
+set(P3RECORDER_SOURCES
+  config_recorder.cxx
+  mouseRecorder.cxx
+  recorderBase.cxx recorderController.cxx
+  recorderFrame.cxx recorderHeader.cxx recorderTable.cxx
+  socketStreamRecorder.cxx
+)
+
+composite_sources(p3recorder P3RECORDER_SOURCES)
+add_library(p3recorder ${P3RECORDER_SOURCES} ${P3RECORDER_HEADERS})
+target_link_libraries(p3recorder p3dgraph p3downloader)
+target_interrogate(p3recorder ALL)