Add CMakeLists for panda/cull
This commit is contained in:
parent
6c98b96f5d
commit
fd9ce53bc9
|
|
@ -17,6 +17,7 @@ add_subdirectory(src/pnmimage)
|
|||
add_subdirectory(src/gobj)
|
||||
add_subdirectory(src/pgraph)
|
||||
|
||||
add_subdirectory(src/cull)
|
||||
#add_subdirectory(src/display)
|
||||
#add_subdirectory(src/framework)
|
||||
#add_subdirectory(src/testbed)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
set(P3CULL_HEADERS
|
||||
binCullHandler.h binCullHandler.I
|
||||
config_cull.h
|
||||
cullBinBackToFront.h cullBinBackToFront.I
|
||||
cullBinFixed.h cullBinFixed.I
|
||||
cullBinFrontToBack.h cullBinFrontToBack.I
|
||||
cullBinStateSorted.h cullBinStateSorted.I
|
||||
cullBinUnsorted.h cullBinUnsorted.I
|
||||
drawCullHandler.h drawCullHandler.I
|
||||
)
|
||||
|
||||
set(P3CULL_SOURCES
|
||||
binCullHandler.cxx
|
||||
config_cull.cxx
|
||||
cullBinBackToFront.cxx
|
||||
cullBinFixed.cxx
|
||||
cullBinFrontToBack.cxx
|
||||
cullBinStateSorted.cxx
|
||||
cullBinUnsorted.cxx
|
||||
drawCullHandler.cxx
|
||||
)
|
||||
|
||||
if(HAVE_EIGEN)
|
||||
include_directories(${EIGEN3_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
composite_sources(p3cull P3CULL_SOURCES)
|
||||
add_library(p3cull ${P3CULL_HEADERS} ${P3CULL_SOURCES})
|
||||
target_link_libraries(p3cull p3pgraph)
|
||||
target_interrogate(p3cull ALL)
|
||||
Loading…
Reference in New Issue