From 5f23b506d9f8f787a1c5dcda8db09feebea346fb Mon Sep 17 00:00:00 2001 From: kestred Date: Sun, 19 Jan 2014 02:58:13 -0700 Subject: [PATCH] Add CMakeLists for panda/pevent. --- panda/CMakeLists.txt | 1 + panda/src/event/CMakeLists.txt | 54 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 panda/src/event/CMakeLists.txt diff --git a/panda/CMakeLists.txt b/panda/CMakeLists.txt index 4068f78a54..b7ca562f97 100644 --- a/panda/CMakeLists.txt +++ b/panda/CMakeLists.txt @@ -10,6 +10,7 @@ add_subdirectory(src/pipeline) add_subdirectory(src/putil) add_subdirectory(src/pstatclient) add_subdirectory(src/linmath) +add_subdirectory(src/event) #add_subdirectory(src/gobj) #add_subdirectory(src/pgraph) diff --git a/panda/src/event/CMakeLists.txt b/panda/src/event/CMakeLists.txt new file mode 100644 index 0000000000..3a3b293356 --- /dev/null +++ b/panda/src/event/CMakeLists.txt @@ -0,0 +1,54 @@ +set(P3EVENT_HEADERS + asyncTask.h asyncTask.I + asyncTaskChain.h asyncTaskChain.I + asyncTaskCollection.h asyncTaskCollection.I + asyncTaskManager.h asyncTaskManager.I + asyncTaskPause.h asyncTaskPause.I + asyncTaskSequence.h asyncTaskSequence.I + config_event.h + buttonEvent.I buttonEvent.h + buttonEventList.I buttonEventList.h + genericAsyncTask.h genericAsyncTask.I + pointerEvent.I pointerEvent.h + pointerEventList.I pointerEventList.h + pythonTask.h pythonTask.I + event.I event.h eventHandler.h eventHandler.I + eventParameter.I eventParameter.h + eventQueue.I eventQueue.h eventReceiver.h + pt_Event.h throw_event.I throw_event.h +) + +set(P3EVENT_SOURCES + asyncTask.cxx + asyncTaskChain.cxx + asyncTaskCollection.cxx + asyncTaskManager.cxx + asyncTaskPause.cxx + asyncTaskSequence.cxx + buttonEvent.cxx + buttonEventList.cxx + genericAsyncTask.cxx + pointerEvent.cxx + pointerEventList.cxx + pythonTask.cxx + config_event.cxx event.cxx eventHandler.cxx + eventParameter.cxx eventQueue.cxx eventReceiver.cxx + pt_Event.cxx +) + +composite_sources(p3event P3EVENT_SOURCES) +add_library(p3event ${P3EVENT_HEADERS} ${P3EVENT_SOURCES}) +target_link_libraries(p3event p3linmath p3pstatclient) +target_interrogate(p3event ALL) + +#begin test_bin_target + #define TARGET test_task + #define LOCAL_LIBS $[LOCAL_LIBS] p3mathutil + #define OTHER_LIBS \ +# p3interrogatedb:c p3dconfig:c p3dtoolbase:c p3prc:c \ +# p3dtoolutil:c p3dtool:m p3dtoolconfig:m p3pystub + + #define SOURCES \ +# test_task.cxx + +#end test_bin_target \ No newline at end of file