From fe62089192f32b0a8bec44d3c9fbf75b3a209392 Mon Sep 17 00:00:00 2001 From: kestred Date: Wed, 22 Jan 2014 01:01:32 -0700 Subject: [PATCH] Add CMakeLists.txt to pview, such that it will compile (but it does not link). --- panda/CMakeLists.txt | 3 +-- panda/src/testbed/CMakeLists.txt | 26 +++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/panda/CMakeLists.txt b/panda/CMakeLists.txt index e04e1df191..093833fa8b 100644 --- a/panda/CMakeLists.txt +++ b/panda/CMakeLists.txt @@ -48,5 +48,4 @@ add_subdirectory(src/pgui) add_subdirectory(src/recorder) add_subdirectory(src/collide) add_subdirectory(src/framework) - -#add_subdirectory(src/testbed) +add_subdirectory(src/testbed) diff --git a/panda/src/testbed/CMakeLists.txt b/panda/src/testbed/CMakeLists.txt index c632347b29..e7b659bb17 100644 --- a/panda/src/testbed/CMakeLists.txt +++ b/panda/src/testbed/CMakeLists.txt @@ -1 +1,25 @@ -add_executable(pview pview.cxx) \ No newline at end of file +add_executable(pview pview.cxx) +target_link_libraries(pview p3framework p3pystub) + +#begin test_bin_target + #define TARGET pgrid + + #define SOURCES \ +# pgrid.cxx + #define UNIX_SYS_LIBS m +#end test_bin_target + +#begin test_bin_target + #define TARGET test_lod + #define SOURCES test_lod.cxx +#end test_bin_target + +#begin test_bin_target + #define TARGET test_texmem + #define SOURCES test_texmem.cxx +#end test_bin_target + +#begin test_bin_target + #define TARGET test_map + #define SOURCES test_map.cxx +#end test_bin_target