From fea7c70e1c317f66c206549f376d970d1b4e0bec Mon Sep 17 00:00:00 2001 From: kestred Date: Sun, 19 Jan 2014 02:30:13 -0700 Subject: [PATCH] Add CMakeLists for panda/pstatclient. --- panda/CMakeLists.txt | 3 +- panda/src/pstatclient/CMakeLists.txt | 41 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 panda/src/pstatclient/CMakeLists.txt diff --git a/panda/CMakeLists.txt b/panda/CMakeLists.txt index 3a5a8e7a8b..d1b015665a 100644 --- a/panda/CMakeLists.txt +++ b/panda/CMakeLists.txt @@ -7,8 +7,9 @@ add_subdirectory(src/pandabase) add_subdirectory(src/express) add_subdirectory(src/downloader) add_subdirectory(src/pipeline) - add_subdirectory(src/putil) +add_subdirectory(src/pstatclient) + #add_subdirectory(src/pgraph) #add_subdirectory(src/display) #add_subdirectory(src/framework) diff --git a/panda/src/pstatclient/CMakeLists.txt b/panda/src/pstatclient/CMakeLists.txt new file mode 100644 index 0000000000..13f8e8ae3d --- /dev/null +++ b/panda/src/pstatclient/CMakeLists.txt @@ -0,0 +1,41 @@ +set(P3PSTATCLIENT_HEADERS + config_pstats.h pStatClient.I pStatClient.h + pStatClientImpl.I pStatClientImpl.h + pStatClientVersion.I + pStatClientVersion.h pStatClientControlMessage.h + pStatCollector.I pStatCollector.h pStatCollectorDef.h + pStatCollectorForward.I pStatCollectorForward.h + pStatFrameData.I pStatFrameData.h pStatProperties.h + pStatServerControlMessage.h pStatThread.I pStatThread.h + pStatTimer.I pStatTimer.h +) + +set(P3PSTATCLIENT_SOURCES + config_pstats.cxx pStatClient.cxx pStatClientImpl.cxx + pStatClientVersion.cxx + pStatClientControlMessage.cxx + pStatCollector.cxx + pStatCollectorDef.cxx + pStatCollectorForward.cxx + pStatFrameData.cxx pStatProperties.cxx + pStatServerControlMessage.cxx + pStatThread.cxx +) + +composite_sources(p3pstatclient P3PSTATCLIENT_SOURCES) +add_library(p3pstatclient ${P3PSTATCLIENT_HEADERS} ${P3PSTATCLIENT_SOURCES}) +target_link_libraries(p3pstatclient p3putil) +target_interrogate(p3pstatclient ALL) + +#begin test_bin_target + #define LOCAL_LIBS \ + # p3pstatclient + #define OTHER_LIBS \ + # $[OTHER_LIBS] p3pystub + + #define TARGET test_client + + #define SOURCES \ + # test_client.cxx + +#end test_bin_target