Add CMakeLists.txt for panda/pgraphnodes

This commit is contained in:
kestred 2014-01-21 21:19:34 -07:00
parent 83c60dc187
commit cb09aa42f3
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,44 @@
set(P3PGRAPHNODES_HEADERS
ambientLight.h ambientLight.I
callbackNode.h callbackNode.I
config_pgraphnodes.h
directionalLight.h directionalLight.I
fadeLodNode.I fadeLodNode.h fadeLodNodeData.h
lightLensNode.h lightLensNode.I
lightNode.h lightNode.I
lodNode.I lodNode.h lodNodeType.h
nodeCullCallbackData.h nodeCullCallbackData.I
pointLight.h pointLight.I
sceneGraphAnalyzer.h sceneGraphAnalyzer.I
selectiveChildNode.h selectiveChildNode.I
sequenceNode.h sequenceNode.I
shaderGenerator.h shaderGenerator.I
spotlight.h spotlight.I
switchNode.h switchNode.I
uvScrollNode.I uvScrollNode.h
)
set(P3PGRAPHNODES_SOURCES
ambientLight.cxx
callbackNode.cxx
config_pgraphnodes.cxx
directionalLight.cxx
fadeLodNode.cxx fadeLodNodeData.cxx
lightLensNode.cxx
lightNode.cxx
lodNode.cxx lodNodeType.cxx
nodeCullCallbackData.cxx
pointLight.cxx
sceneGraphAnalyzer.cxx
selectiveChildNode.cxx
sequenceNode.cxx
shaderGenerator.cxx
spotlight.cxx
switchNode.cxx
uvScrollNode.cxx
)
composite_sources(p3pgraphnodes P3PGRAPHNODES_SOURCES)
add_library(p3pgraphnodes ${P3PGRAPHNODES_HEADERS} ${P3PGRAPHNODES_SOURCES})
target_link_libraries(p3pgraphnodes p3pgraph)
target_interrogate(p3pgraphnodes ALL)

View File

@ -14,6 +14,7 @@
#include "lodNodeType.h"
#include "string_utils.h"
#include "config_pgraph.h"
ostream &
operator << (ostream &out, LODNodeType lnt) {

View File

@ -31,6 +31,7 @@
#include "texMatrixAttrib.h"
#include "texGenAttrib.h"
#include "colorScaleAttrib.h"
#include "clipPlaneAttrib.h"
#include "fogAttrib.h"
#include "texture.h"
#include "ambientLight.h"
@ -39,6 +40,7 @@
#include "spotlight.h"
#include "lightLensNode.h"
#include "lvector4.h"
#include "config_pgraphnodes.h"
TypeHandle ShaderGenerator::_type_handle;

View File

@ -15,6 +15,7 @@
#include "uvScrollNode.h"
#include "bamReader.h"
#include "cullTraverserData.h"
#include "datagram.h"
#include "datagramIterator.h"
#include "luse.h"