Add CMakeLists for panda/gsgbase
This commit is contained in:
parent
3d65bd49a7
commit
8e3c001f8a
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue