Browse Source

Add CMakeLists.txt to pview, such that it will compile (but it does not link).

kestred 12 years ago
parent
commit
fe62089192
2 changed files with 26 additions and 3 deletions
  1. 1 2
      panda/CMakeLists.txt
  2. 25 1
      panda/src/testbed/CMakeLists.txt

+ 1 - 2
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)

+ 25 - 1
panda/src/testbed/CMakeLists.txt

@@ -1 +1,25 @@
-add_executable(pview pview.cxx)
+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