diff --git a/panda/CMakeLists.txt b/panda/CMakeLists.txt index 44fa45bc4a..61652662dd 100644 --- a/panda/CMakeLists.txt +++ b/panda/CMakeLists.txt @@ -11,8 +11,9 @@ add_subdirectory(src/putil) add_subdirectory(src/pstatclient) add_subdirectory(src/linmath) add_subdirectory(src/event) - add_subdirectory(src/mathutil) +add_subdirectory(src/gsgbase) + #add_subdirectory(src/gobj) #add_subdirectory(src/pgraph) #add_subdirectory(src/display) diff --git a/panda/src/gsgbase/CMakeLists.txt b/panda/src/gsgbase/CMakeLists.txt new file mode 100644 index 0000000000..f6c3a10104 --- /dev/null +++ b/panda/src/gsgbase/CMakeLists.txt @@ -0,0 +1,32 @@ +set(P3GSGBASE_HEADERS + config_gsgbase.h + displayRegionBase.I displayRegionBase.h + graphicsOutputBase.I graphicsOutputBase.h + graphicsStateGuardianBase.h +) + +set(P3GSGBASE_SOURCES + config_gsgbase.cxx + displayRegionBase.cxx + graphicsOutputBase.cxx + graphicsStateGuardianBase.cxx +) + +if(HAVE_EIGEN) + include_directories(${EIGEN3_INCLUDE_DIR}) +endif() + +composite_sources(p3gsgbase P3GSGBASE_SOURCES) +add_library(p3gsgbase ${P3GSGBASE_HEADERS} ${P3GSGBASE_SOURCES}) +target_link_libraries(p3gsgbase p3linmath) +target_interrogate(p3gsgbase ALL) + +#begin test_bin_target + #define TARGET test_gsgbase + #define LOCAL_LIBS +# p3gsgbase + + #define SOURCES +# test_gsgbase.cxx + +#end test_bin_target