diff --git a/panda/CMakeLists.txt b/panda/CMakeLists.txt index 6bb38f62bf..481ebbd80e 100644 --- a/panda/CMakeLists.txt +++ b/panda/CMakeLists.txt @@ -44,6 +44,7 @@ add_subdirectory(src/parametrics) add_subdirectory(src/text) add_subdirectory(src/grutil) add_subdirectory(src/tform) +add_subdirectory(src/pgui) #add_subdirectory(src/framework) #add_subdirectory(src/testbed) diff --git a/panda/src/pgui/CMakeLists.txt b/panda/src/pgui/CMakeLists.txt new file mode 100644 index 0000000000..55839744cb --- /dev/null +++ b/panda/src/pgui/CMakeLists.txt @@ -0,0 +1,63 @@ +set(P3PGUI_HEADERS + config_pgui.h + pgButton.I pgButton.h + pgButtonNotify.I pgButtonNotify.h + pgCullTraverser.I pgCullTraverser.h + pgEntry.I pgEntry.h + pgMouseWatcherGroup.I pgMouseWatcherGroup.h + pgMouseWatcherParameter.I pgMouseWatcherParameter.h + pgFrameStyle.I pgFrameStyle.h + pgItem.I pgItem.h + pgItemNotify.I pgItemNotify.h + pgMouseWatcherBackground.h + pgMouseWatcherRegion.I pgMouseWatcherRegion.h + pgScrollFrame.I pgScrollFrame.h + pgSliderBar.I pgSliderBar.h + pgSliderBarNotify.I pgSliderBarNotify.h + pgTop.I pgTop.h + pgVirtualFrame.I pgVirtualFrame.h + pgWaitBar.I pgWaitBar.h +) +set(P3PGUI_SOURCES + config_pgui.cxx + pgButton.cxx + pgButtonNotify.cxx + pgCullTraverser.cxx + pgEntry.cxx + pgMouseWatcherGroup.cxx + pgMouseWatcherParameter.cxx + pgFrameStyle.cxx + pgItem.cxx + pgItemNotify.cxx + pgMouseWatcherBackground.cxx + pgMouseWatcherRegion.cxx + pgScrollFrame.cxx + pgSliderBar.cxx + pgSliderBarNotify.cxx + pgTop.cxx + pgVirtualFrame.cxx + pgWaitBar.cxx +) + +composite_sources(p3pgui P3PGUI_SOURCES) +add_library(p3pgui ${P3PGUI_SOURCES} ${P3PGUI_HEADERS}) +target_link_libraries(p3pgui p3tform) +target_interrogate(p3pgui ALL) + +#begin test_bin_target + #define TARGET test_pgentry + + #define OTHER_LIBS $[OTHER_LIBS] p3pystub + + #define LOCAL_LIBS \ +# p3framework p3putil p3collide p3pgraph p3chan p3text \ +# p3pnmimage p3pnmimagetypes p3event p3gobj p3display \ +# p3mathutil p3putil p3express p3dgraph p3device p3tform \ +# p3linmath p3pstatclient panda + + #define UNIX_SYS_LIBS m + + #define SOURCES \ +# test_pgentry.cxx + +#end test_bin_target