From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists.
From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory.
This commit is contained in:
6
src/osgPlugins/3dc/CMakeLists.txt
Normal file
6
src/osgPlugins/3dc/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME 3dc )
|
||||
SET(TARGET_SRC ReaderWriter3DC.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
51
src/osgPlugins/3ds/CMakeLists.txt
Normal file
51
src/osgPlugins/3ds/CMakeLists.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME 3ds )
|
||||
SET(TARGET_SRC
|
||||
ReaderWriter3DS.cpp
|
||||
atmosphere.cpp
|
||||
background.cpp
|
||||
camera.cpp
|
||||
chunk.cpp
|
||||
ease.cpp
|
||||
file.cpp
|
||||
lib3ds_float.cpp
|
||||
light.cpp
|
||||
material.cpp
|
||||
matrix.cpp
|
||||
mesh.cpp
|
||||
node.cpp
|
||||
quat.cpp
|
||||
readwrite.cpp
|
||||
shadow.cpp
|
||||
tcb.cpp
|
||||
tracks.cpp
|
||||
vector.cpp
|
||||
viewport.cpp
|
||||
)
|
||||
SET(TARGET_H
|
||||
atmosphere.h
|
||||
background.h
|
||||
camera.h
|
||||
chunk.h
|
||||
chunktable.h
|
||||
config.h
|
||||
ease.h
|
||||
file.h
|
||||
lib3ds_float.h
|
||||
light.h
|
||||
material.h
|
||||
matrix.h
|
||||
mesh.h
|
||||
node.h
|
||||
quat.h
|
||||
readwrite.h
|
||||
shadow.h
|
||||
tcb.h
|
||||
tracks.h
|
||||
types.h
|
||||
vector.h
|
||||
viewport.h
|
||||
)
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
@@ -19,79 +19,98 @@ IF(NOT MINGW)
|
||||
SET(CMAKE_SHARED_MODULE_PREFIX "")
|
||||
ENDIF(NOT MINGW)
|
||||
|
||||
INCLUDE(OsgMacroUtils)
|
||||
|
||||
|
||||
SET(TARGET_DEFAULT_PREFIX "osgdb_")
|
||||
SET(TARGET_DEFAULT_LABEL_PREFIX "Plugins")
|
||||
SET(TARGET_COMMON_LIBRARIES
|
||||
osg
|
||||
osgDB
|
||||
osgUtil
|
||||
)
|
||||
|
||||
IF (BUILD_OSG_COMMON_PLUGINS)
|
||||
ADD_OSG_PLUGIN(osgFX osgFX)
|
||||
ADD_OSG_PLUGIN(osgParticle osgParticle)
|
||||
ADD_OSG_PLUGIN(osgSim osgSim)
|
||||
ADD_OSG_PLUGIN(osgText osgText)
|
||||
ADD_OSG_PLUGIN(osga)
|
||||
ADD_OSG_PLUGIN(rot)
|
||||
ADD_OSG_PLUGIN(scale)
|
||||
ADD_OSG_PLUGIN(trans)
|
||||
SET(TARGET_DEFAULT_LABEL_PREFIX "Plug commons")
|
||||
###########################################################
|
||||
# this is for asking the production of a single CMakeLists.txt
|
||||
# the BUILD_CMAKELIST can be set at the macro call level or
|
||||
# globally by configuring
|
||||
# TARGET_DEFAULT_BUILD_CMAKELIST
|
||||
#
|
||||
# ADD_OSG_PLUGIN(osgFX osgFX BUILD_CMAKELIST)
|
||||
#
|
||||
###########################################################
|
||||
ADD_SUBDIRECTORY(osgFX)
|
||||
ADD_SUBDIRECTORY(osgParticle)
|
||||
ADD_SUBDIRECTORY(osgSim)
|
||||
ADD_SUBDIRECTORY(osgText)
|
||||
ADD_SUBDIRECTORY(osga)
|
||||
ADD_SUBDIRECTORY(rot)
|
||||
ADD_SUBDIRECTORY(scale)
|
||||
ADD_SUBDIRECTORY(trans)
|
||||
|
||||
ADD_OSG_PLUGIN(osg osgSim osgFX osgText)
|
||||
ADD_OSG_PLUGIN(ive osgSim osgFX osgText)
|
||||
ADD_SUBDIRECTORY(osg)
|
||||
ADD_SUBDIRECTORY(ive)
|
||||
ENDIF (BUILD_OSG_COMMON_PLUGINS)
|
||||
|
||||
IF (BUILD_OSG_IMAGE_PLUGINS)
|
||||
ADD_OSG_PLUGIN(rgb)
|
||||
ADD_OSG_PLUGIN(bmp)
|
||||
ADD_OSG_PLUGIN(dds)
|
||||
ADD_OSG_PLUGIN(tga)
|
||||
ADD_OSG_PLUGIN(hdr)
|
||||
SET(TARGET_DEFAULT_LABEL_PREFIX "Plug image" )#
|
||||
ADD_SUBDIRECTORY(rgb)
|
||||
ADD_SUBDIRECTORY(bmp)
|
||||
ADD_SUBDIRECTORY(dds)
|
||||
ADD_SUBDIRECTORY(tga)
|
||||
ADD_SUBDIRECTORY(hdr)
|
||||
|
||||
IF(JPEG_FOUND)
|
||||
SUBDIRS( jpeg )
|
||||
ADD_SUBDIRECTORY(jpeg)
|
||||
ENDIF(JPEG_FOUND)
|
||||
IF(GIFLIB_FOUND)
|
||||
SUBDIRS( gif )
|
||||
ADD_SUBDIRECTORY(gif)
|
||||
ENDIF(GIFLIB_FOUND)
|
||||
IF(PNG_FOUND)
|
||||
SUBDIRS( png )
|
||||
ADD_SUBDIRECTORY(png)
|
||||
ENDIF(PNG_FOUND)
|
||||
IF(TIFF_FOUND)
|
||||
SUBDIRS( tiff )
|
||||
ADD_SUBDIRECTORY(tiff)
|
||||
ENDIF(TIFF_FOUND)
|
||||
|
||||
ENDIF (BUILD_OSG_IMAGE_PLUGINS)
|
||||
|
||||
IF (BUILD_OSG_3D_PLUGINS)
|
||||
ADD_OSG_PLUGIN(3dc)
|
||||
#ADD_OSG_PLUGIN(Inventor)
|
||||
#ADD_OSG_PLUGIN(lwo osgFX)
|
||||
ADD_OSG_PLUGIN(x)
|
||||
ADD_OSG_PLUGIN(dw)
|
||||
ADD_OSG_PLUGIN(dxf)
|
||||
#ADD_OSG_PLUGIN(flt osgSim)
|
||||
ADD_OSG_PLUGIN(OpenFlight osgSim)
|
||||
ADD_OSG_PLUGIN(geo osgSim)
|
||||
ADD_OSG_PLUGIN(obj)
|
||||
#ADD_OSG_PLUGIN(pfb)
|
||||
ADD_OSG_PLUGIN(pic)
|
||||
ADD_OSG_PLUGIN(stl)
|
||||
ADD_OSG_PLUGIN(3ds )
|
||||
ADD_OSG_PLUGIN(ac)
|
||||
SET(TARGET_DEFAULT_LABEL_PREFIX "Plug 3d")
|
||||
ADD_SUBDIRECTORY(3dc)
|
||||
#ADD_SUBDIRECTORY(Inventor)
|
||||
#ADD_SUBDIRECTORY(lwo)
|
||||
ADD_SUBDIRECTORY(x)
|
||||
ADD_SUBDIRECTORY(dw)
|
||||
ADD_SUBDIRECTORY(dxf)
|
||||
#ADD_SUBDIRECTORY(flt)
|
||||
ADD_SUBDIRECTORY(OpenFlight)
|
||||
ADD_SUBDIRECTORY(geo)
|
||||
ADD_SUBDIRECTORY(obj)
|
||||
#ADD_SUBDIRECTORY(pfb)
|
||||
ADD_SUBDIRECTORY(pic)
|
||||
ADD_SUBDIRECTORY(stl)
|
||||
ADD_SUBDIRECTORY(3ds)
|
||||
ADD_SUBDIRECTORY(ac)
|
||||
ENDIF (BUILD_OSG_3D_PLUGINS)
|
||||
|
||||
IF (BUILD_OSG_OTHER_PLUGINS)
|
||||
ADD_OSG_PLUGIN(logo)
|
||||
ADD_OSG_PLUGIN(lws)
|
||||
ADD_OSG_PLUGIN(md2)
|
||||
ADD_OSG_PLUGIN(osgtgz)
|
||||
#ADD_OSG_PLUGIN(quicktime)
|
||||
ADD_OSG_PLUGIN(tgz)
|
||||
#ADD_OSG_PLUGIN(txp)
|
||||
#ADD_OSG_PLUGIN(xine)
|
||||
ADD_OSG_PLUGIN(shp)
|
||||
SET(TARGET_DEFAULT_LABEL_PREFIX "Plug other")
|
||||
#ADD_SUBDIRECTORY(logo)
|
||||
ADD_SUBDIRECTORY(lws)
|
||||
ADD_SUBDIRECTORY(md2)
|
||||
ADD_SUBDIRECTORY(osgtgz)
|
||||
#ADD_SUBDIRECTORY(quicktime)
|
||||
ADD_SUBDIRECTORY(tgz)
|
||||
#ADD_SUBDIRECTORY(txp)
|
||||
#ADD_SUBDIRECTORY(xine)
|
||||
ADD_SUBDIRECTORY(shp)
|
||||
|
||||
IF(FREETYPE_FOUND)
|
||||
SUBDIRS( freetype )
|
||||
ADD_SUBDIRECTORY(freetype)
|
||||
ENDIF(FREETYPE_FOUND)
|
||||
IF(ZLIB_FOUND)
|
||||
ADD_OSG_PLUGIN(zip )
|
||||
ADD_SUBDIRECTORY(zip)
|
||||
ENDIF(ZLIB_FOUND)
|
||||
|
||||
ENDIF (BUILD_OSG_OTHER_PLUGINS)
|
||||
@@ -102,15 +121,18 @@ ENDIF (BUILD_OSG_OTHER_PLUGINS)
|
||||
#---------------------------------------------------
|
||||
|
||||
IF (BUILD_OSG_NET_PLUGINS)
|
||||
ADD_OSG_PLUGIN(net ${OSG_SOCKET_LIBS})
|
||||
ADD_SUBDIRECTORY(net)
|
||||
ENDIF (BUILD_OSG_NET_PLUGINS)
|
||||
|
||||
#REWRITE_CMAKELIST(ADD_OSG_PLUGIN)
|
||||
|
||||
|
||||
##########to get all the variables of Cmake
|
||||
GET_CMAKE_PROPERTY(MYVARS VARIABLES)
|
||||
FOREACH(myvar ${MYVARS})
|
||||
FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/AllVariables.txt
|
||||
"${myvar} -->${${myvar}}<-\n"
|
||||
)
|
||||
ENDFOREACH(myvar)
|
||||
#GET_CMAKE_PROPERTY(MYVARS VARIABLES)
|
||||
#FOREACH(myvar ${MYVARS})
|
||||
# FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/AllVariables.txt
|
||||
# "${myvar} -->${${myvar}}<-\n"
|
||||
# )
|
||||
#ENDFOREACH(myvar)
|
||||
|
||||
|
||||
|
||||
39
src/osgPlugins/OpenFlight/CMakeLists.txt
Normal file
39
src/osgPlugins/OpenFlight/CMakeLists.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME OpenFlight )
|
||||
SET(TARGET_SRC
|
||||
AncillaryRecords.cpp
|
||||
AttrData.cpp
|
||||
ControlRecords.cpp
|
||||
DataInputStream.cpp
|
||||
Document.cpp
|
||||
GeometryRecords.cpp
|
||||
LightPointRecords.cpp
|
||||
PaletteRecords.cpp
|
||||
Pools.cpp
|
||||
PrimaryRecords.cpp
|
||||
ReaderWriterATTR.cpp
|
||||
ReaderWriterFLT.cpp
|
||||
Record.cpp
|
||||
RecordInputStream.cpp
|
||||
Registry.cpp
|
||||
ReservedRecords.cpp
|
||||
RoadRecords.cpp
|
||||
Vertex.cpp
|
||||
VertexRecords.cpp
|
||||
)
|
||||
SET(TARGET_H
|
||||
AttrData.h
|
||||
DataInputStream.h
|
||||
Document.h
|
||||
Pools.h
|
||||
Record.h
|
||||
RecordInputStream.h
|
||||
Registry.h
|
||||
Vertex.h
|
||||
opcodes.h
|
||||
types.h
|
||||
)
|
||||
SET(TARGET_ADDED_LIBRARIES osgSim )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
7
src/osgPlugins/ac/CMakeLists.txt
Normal file
7
src/osgPlugins/ac/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME ac )
|
||||
SET(TARGET_SRC Exception.cpp Geode.cpp ac3d.cpp )
|
||||
SET(TARGET_H Exception.h Geode.h )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/bmp/CMakeLists.txt
Normal file
6
src/osgPlugins/bmp/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME bmp )
|
||||
SET(TARGET_SRC ReaderWriterBMP.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/dds/CMakeLists.txt
Normal file
6
src/osgPlugins/dds/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME dds )
|
||||
SET(TARGET_SRC ReaderWriterDDS.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/dw/CMakeLists.txt
Normal file
6
src/osgPlugins/dw/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME dw )
|
||||
SET(TARGET_SRC ReaderWriterDW.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
29
src/osgPlugins/dxf/CMakeLists.txt
Normal file
29
src/osgPlugins/dxf/CMakeLists.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME dxf )
|
||||
SET(TARGET_SRC
|
||||
ReaderWriterDXF.cpp
|
||||
aci.cpp
|
||||
dxfBlock.cpp
|
||||
dxfEntity.cpp
|
||||
dxfFile.cpp
|
||||
dxfReader.cpp
|
||||
dxfSection.cpp
|
||||
dxfTable.cpp
|
||||
scene.cpp
|
||||
)
|
||||
SET(TARGET_H
|
||||
aci.h
|
||||
codeValue.h
|
||||
dxfBlock.h
|
||||
dxfDataTypes.h
|
||||
dxfEntity.h
|
||||
dxfFile.h
|
||||
dxfReader.h
|
||||
dxfSection.h
|
||||
dxfSectionBase.h
|
||||
dxfTable.h
|
||||
scene.h
|
||||
)
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
@@ -1,8 +1,15 @@
|
||||
IF(WIN32)
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:MSVCRT")
|
||||
ENDIF(WIN32)
|
||||
INCLUDE_DIRECTORIES( ${FREETYPE_INCLUDE_DIRS} )
|
||||
#LINK_DIRECTORIES( ${FREETYPE_DIR}/lib )
|
||||
ADD_OSG_PLUGIN(freetype osgText ${FREETYPE_LIBRARY})
|
||||
|
||||
|
||||
#this file is automatically generated
|
||||
|
||||
|
||||
IF(WIN32)
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:MSVCRT")
|
||||
ENDIF(WIN32)
|
||||
INCLUDE_DIRECTORIES(${FREETYPE_INCLUDE_DIRS} )
|
||||
|
||||
SET(TARGET_NAME freetype )
|
||||
SET(TARGET_SRC FreeTypeFont.cpp FreeTypeLibrary.cpp ReaderWriterFreeType.cpp )
|
||||
SET(TARGET_H FreeTypeFont.h FreeTypeLibrary.h )
|
||||
SET(TARGET_ADDED_LIBRARIES osgText )
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${FREETYPE_LIBRARY} )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
|
||||
19
src/osgPlugins/geo/CMakeLists.txt
Normal file
19
src/osgPlugins/geo/CMakeLists.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME geo )
|
||||
SET(TARGET_SRC ClipRegion.cpp ReaderWriterGEO.cpp geoActions.cpp )
|
||||
SET(TARGET_H
|
||||
ClipRegion.h
|
||||
geoCore.h
|
||||
geoFormat.h
|
||||
geoTypes.h
|
||||
geoUnits.h
|
||||
geoVersion.h
|
||||
osgGeoAction.h
|
||||
osgGeoAnimation.h
|
||||
osgGeoNodes.h
|
||||
osgGeoStructs.h
|
||||
)
|
||||
SET(TARGET_ADDED_LIBRARIES osgSim )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
@@ -1,8 +1,16 @@
|
||||
INCLUDE_DIRECTORIES( ${GIFLIB_INCLUDE_DIR} )
|
||||
LINK_DIRECTORIES( ${GIFLIB_DIR}/lib )
|
||||
IF(NOT MINGW)
|
||||
ADD_OSG_PLUGIN(gif ${GIFLIB_LIBRARY})
|
||||
ENDIF(NOT MINGW)
|
||||
IF(MSVC)
|
||||
SET_TARGET_PROPERTIES(osgdb_gif PROPERTIES LINK_FLAGS_DEBUG "/NODEFAULTLIB:MSVCRT")
|
||||
ENDIF(MSVC)
|
||||
#this file is automatically generated
|
||||
|
||||
|
||||
INCLUDE_DIRECTORIES( ${GIFLIB_INCLUDE_DIR} )
|
||||
LINK_DIRECTORIES( ${GIFLIB_DIR}/lib )
|
||||
|
||||
SET(TARGET_NAME gif )
|
||||
SET(TARGET_SRC ReaderWriterGIF.cpp )
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${GIFLIB_LIBRARY} )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
|
||||
IF(MSVC)
|
||||
SET_TARGET_PROPERTIES("${TARGET_DEFAULT_PREFIX}${TARGET_NAME}" PROPERTIES LINK_FLAGS_DEBUG "/NODEFAULTLIB:MSVCRT")
|
||||
ENDIF(MSVC)
|
||||
|
||||
|
||||
7
src/osgPlugins/hdr/CMakeLists.txt
Normal file
7
src/osgPlugins/hdr/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME hdr )
|
||||
SET(TARGET_SRC ReaderWriterHDR.cpp hdrloader.cpp )
|
||||
SET(TARGET_H hdrloader.h )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
196
src/osgPlugins/ive/CMakeLists.txt
Normal file
196
src/osgPlugins/ive/CMakeLists.txt
Normal file
@@ -0,0 +1,196 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME ive )
|
||||
SET(TARGET_SRC
|
||||
AlphaFunc.cpp
|
||||
AnimationPath.cpp
|
||||
AnimationPathCallback.cpp
|
||||
AutoTransform.cpp
|
||||
AzimElevationSector.cpp
|
||||
AzimSector.cpp
|
||||
Billboard.cpp
|
||||
BlendColor.cpp
|
||||
BlendFunc.cpp
|
||||
BlinkSequence.cpp
|
||||
Camera.cpp
|
||||
CameraView.cpp
|
||||
ClipNode.cpp
|
||||
ClipPlane.cpp
|
||||
ClusterCullingCallback.cpp
|
||||
ColorMask.cpp
|
||||
ConeSector.cpp
|
||||
ConvexPlanarOccluder.cpp
|
||||
ConvexPlanarPolygon.cpp
|
||||
CoordinateSystemNode.cpp
|
||||
CullFace.cpp
|
||||
DOFTransform.cpp
|
||||
DataInputStream.cpp
|
||||
DataOutputStream.cpp
|
||||
Depth.cpp
|
||||
DirectionalSector.cpp
|
||||
DrawArrayLengths.cpp
|
||||
DrawArrays.cpp
|
||||
DrawElementsUByte.cpp
|
||||
DrawElementsUInt.cpp
|
||||
DrawElementsUShort.cpp
|
||||
Drawable.cpp
|
||||
ElevationSector.cpp
|
||||
EllipsoidModel.cpp
|
||||
Exception.cpp
|
||||
FragmentProgram.cpp
|
||||
FrontFace.cpp
|
||||
Geode.cpp
|
||||
Geometry.cpp
|
||||
Group.cpp
|
||||
Image.cpp
|
||||
Impostor.cpp
|
||||
LOD.cpp
|
||||
Light.cpp
|
||||
LightModel.cpp
|
||||
LightPoint.cpp
|
||||
LightPointNode.cpp
|
||||
LightSource.cpp
|
||||
LineWidth.cpp
|
||||
Material.cpp
|
||||
MatrixTransform.cpp
|
||||
MultiSwitch.cpp
|
||||
MultiTextureControl.cpp
|
||||
Node.cpp
|
||||
Object.cpp
|
||||
OccluderNode.cpp
|
||||
PagedLOD.cpp
|
||||
Point.cpp
|
||||
PointSprite.cpp
|
||||
PolygonMode.cpp
|
||||
PolygonOffset.cpp
|
||||
PositionAttitudeTransform.cpp
|
||||
PrimitiveSet.cpp
|
||||
Program.cpp
|
||||
ProxyNode.cpp
|
||||
ReaderWriterIVE.cpp
|
||||
Scissor.cpp
|
||||
Sequence.cpp
|
||||
ShadeModel.cpp
|
||||
Shader.cpp
|
||||
Shape.cpp
|
||||
ShapeDrawable.cpp
|
||||
StateSet.cpp
|
||||
Stencil.cpp
|
||||
Switch.cpp
|
||||
TexEnv.cpp
|
||||
TexEnvCombine.cpp
|
||||
TexGen.cpp
|
||||
TexGenNode.cpp
|
||||
TexMat.cpp
|
||||
Text.cpp
|
||||
Texture.cpp
|
||||
Texture1D.cpp
|
||||
Texture2D.cpp
|
||||
Texture3D.cpp
|
||||
TextureCubeMap.cpp
|
||||
TextureRectangle.cpp
|
||||
Transform.cpp
|
||||
Uniform.cpp
|
||||
VertexProgram.cpp
|
||||
Viewport.cpp
|
||||
VisibilityGroup.cpp
|
||||
)
|
||||
SET(TARGET_H
|
||||
AlphaFunc.h
|
||||
AnimationPath.h
|
||||
AnimationPathCallback.h
|
||||
AutoTransform.h
|
||||
AzimElevationSector.h
|
||||
AzimSector.h
|
||||
Billboard.h
|
||||
BlendColor.h
|
||||
BlendFunc.h
|
||||
BlinkSequence.h
|
||||
Camera.h
|
||||
CameraView.h
|
||||
ClipNode.h
|
||||
ClipPlane.h
|
||||
ClusterCullingCallback.h
|
||||
ColorMask.h
|
||||
ConeSector.h
|
||||
ConvexPlanarOccluder.h
|
||||
ConvexPlanarPolygon.h
|
||||
CoordinateSystemNode.h
|
||||
CullFace.h
|
||||
DOFTransform.h
|
||||
DataInputStream.h
|
||||
DataOutputStream.h
|
||||
DataTypeSize.h
|
||||
Depth.h
|
||||
DirectionalSector.h
|
||||
DrawArrayLengths.h
|
||||
DrawArrays.h
|
||||
DrawElementsUByte.h
|
||||
DrawElementsUInt.h
|
||||
DrawElementsUShort.h
|
||||
Drawable.h
|
||||
ElevationSector.h
|
||||
EllipsoidModel.h
|
||||
Exception.h
|
||||
FragmentProgram.h
|
||||
FrontFace.h
|
||||
Geode.h
|
||||
Geometry.h
|
||||
Group.h
|
||||
Image.h
|
||||
Impostor.h
|
||||
IveVersion.h
|
||||
LOD.h
|
||||
Light.h
|
||||
LightModel.h
|
||||
LightPoint.h
|
||||
LightPointNode.h
|
||||
LightSource.h
|
||||
LineWidth.h
|
||||
Material.h
|
||||
MatrixTransform.h
|
||||
MultiSwitch.h
|
||||
MultiTextureControl.h
|
||||
Node.h
|
||||
Object.h
|
||||
OccluderNode.h
|
||||
PagedLOD.h
|
||||
Point.h
|
||||
PointSprite.h
|
||||
PolygonMode.h
|
||||
PolygonOffset.h
|
||||
PositionAttitudeTransform.h
|
||||
PrimitiveSet.h
|
||||
Program.h
|
||||
ProxyNode.h
|
||||
ReadWrite.h
|
||||
Scissor.h
|
||||
Sequence.h
|
||||
ShadeModel.h
|
||||
Shader.h
|
||||
Shape.h
|
||||
ShapeDrawable.h
|
||||
StateSet.h
|
||||
Stencil.h
|
||||
Switch.h
|
||||
TexEnv.h
|
||||
TexEnvCombine.h
|
||||
TexGen.h
|
||||
TexGenNode.h
|
||||
TexMat.h
|
||||
Text.h
|
||||
Texture.h
|
||||
Texture1D.h
|
||||
Texture2D.h
|
||||
Texture3D.h
|
||||
TextureCubeMap.h
|
||||
TextureRectangle.h
|
||||
Transform.h
|
||||
Uniform.h
|
||||
VertexProgram.h
|
||||
Viewport.h
|
||||
VisibilityGroup.h
|
||||
)
|
||||
SET(TARGET_ADDED_LIBRARIES osgSim osgFX osgText )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
@@ -1,7 +1,11 @@
|
||||
IF(MSVC)
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:MSVCRT")
|
||||
ENDIF(MSVC)
|
||||
INCLUDE_DIRECTORIES( ${JPEG_INCLUDE_DIR} )
|
||||
#LINK_DIRECTORIES( ${JPEG_DIR}/lib )
|
||||
ADD_OSG_PLUGIN(jpeg ${JPEG_LIBRARY})
|
||||
#this file is automatically generated
|
||||
|
||||
|
||||
INCLUDE_DIRECTORIES( ${JPEG_INCLUDE_DIR} )
|
||||
LINK_DIRECTORIES( ${JPEG_DIR}/lib )
|
||||
|
||||
SET(TARGET_NAME jpeg )
|
||||
SET(TARGET_SRC ReaderWriterJPEG.cpp )
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${JPEG_LIBRARY} )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
|
||||
7
src/osgPlugins/lws/CMakeLists.txt
Normal file
7
src/osgPlugins/lws/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME lws )
|
||||
SET(TARGET_SRC ReaderWriterLWS.cpp SceneLoader.cpp )
|
||||
SET(TARGET_H SceneLoader.h )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
7
src/osgPlugins/md2/CMakeLists.txt
Normal file
7
src/osgPlugins/md2/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME md2 )
|
||||
SET(TARGET_SRC ReaderWriterMD2.cpp )
|
||||
SET(TARGET_H anorms.h )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
8
src/osgPlugins/net/CMakeLists.txt
Normal file
8
src/osgPlugins/net/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME net )
|
||||
SET(TARGET_SRC ReaderWriterNET.cpp sockinet.cpp sockstream.cpp )
|
||||
SET(TARGET_H sockinet.h sockstream.h )
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${OSG_SOCKET_LIBS} )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
7
src/osgPlugins/obj/CMakeLists.txt
Normal file
7
src/osgPlugins/obj/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME obj )
|
||||
SET(TARGET_SRC ReaderWriterOBJ.cpp obj.cpp )
|
||||
SET(TARGET_H obj.h )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
85
src/osgPlugins/osg/CMakeLists.txt
Normal file
85
src/osgPlugins/osg/CMakeLists.txt
Normal file
@@ -0,0 +1,85 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME osg )
|
||||
SET(TARGET_SRC
|
||||
AlphaFunc.cpp
|
||||
AnimationPath.cpp
|
||||
AutoTransform.cpp
|
||||
Billboard.cpp
|
||||
BlendColor.cpp
|
||||
BlendFunc.cpp
|
||||
Camera.cpp
|
||||
CameraView.cpp
|
||||
ClearNode.cpp
|
||||
ClipNode.cpp
|
||||
ClipPlane.cpp
|
||||
ClusterCullingCallback.cpp
|
||||
ColorMask.cpp
|
||||
ColorMatrix.cpp
|
||||
ConvexPlanarOccluder.cpp
|
||||
CoordinateSystemNode.cpp
|
||||
CullFace.cpp
|
||||
Depth.cpp
|
||||
Drawable.cpp
|
||||
EllipsoidModel.cpp
|
||||
Fog.cpp
|
||||
FragmentProgram.cpp
|
||||
FrontFace.cpp
|
||||
Geode.cpp
|
||||
Geometry.cpp
|
||||
Group.cpp
|
||||
Image.cpp
|
||||
LOD.cpp
|
||||
Light.cpp
|
||||
LightModel.cpp
|
||||
LightSource.cpp
|
||||
LineStipple.cpp
|
||||
LineWidth.cpp
|
||||
Material.cpp
|
||||
Matrix.cpp
|
||||
MatrixTransform.cpp
|
||||
Node.cpp
|
||||
NodeCallback.cpp
|
||||
Object.cpp
|
||||
OccluderNode.cpp
|
||||
PagedLOD.cpp
|
||||
Point.cpp
|
||||
PointSprite.cpp
|
||||
PolygonMode.cpp
|
||||
PolygonOffset.cpp
|
||||
PositionAttitudeTransform.cpp
|
||||
Program.cpp
|
||||
Projection.cpp
|
||||
ProxyNode.cpp
|
||||
ReaderWriterOSG.cpp
|
||||
Scissor.cpp
|
||||
Sequence.cpp
|
||||
ShadeModel.cpp
|
||||
Shader.cpp
|
||||
Shape.cpp
|
||||
ShapeDrawable.cpp
|
||||
StateSet.cpp
|
||||
Stencil.cpp
|
||||
Switch.cpp
|
||||
TessellationHints.cpp
|
||||
TexEnv.cpp
|
||||
TexEnvCombine.cpp
|
||||
TexEnvFilter.cpp
|
||||
TexGen.cpp
|
||||
TexGenNode.cpp
|
||||
TexMat.cpp
|
||||
Texture.cpp
|
||||
Texture1D.cpp
|
||||
Texture2D.cpp
|
||||
Texture3D.cpp
|
||||
TextureCubeMap.cpp
|
||||
TextureRectangle.cpp
|
||||
Transform.cpp
|
||||
Uniform.cpp
|
||||
VertexProgram.cpp
|
||||
Viewport.cpp
|
||||
)
|
||||
SET(TARGET_H Matrix.h )
|
||||
SET(TARGET_ADDED_LIBRARIES osgSim osgFX osgText )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
15
src/osgPlugins/osgFX/CMakeLists.txt
Normal file
15
src/osgPlugins/osgFX/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME osgFX )
|
||||
SET(TARGET_SRC
|
||||
IO_AnisotropicLighting.cpp
|
||||
IO_BumpMapping.cpp
|
||||
IO_Cartoon.cpp
|
||||
IO_Effect.cpp
|
||||
IO_MultiTextureControl.cpp
|
||||
IO_Scribe.cpp
|
||||
IO_SpecularHighlights.cpp
|
||||
)
|
||||
SET(TARGET_ADDED_LIBRARIES osgFX )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
38
src/osgPlugins/osgParticle/CMakeLists.txt
Normal file
38
src/osgPlugins/osgParticle/CMakeLists.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME osgParticle )
|
||||
SET(TARGET_SRC
|
||||
IO_AccelOperator.cpp
|
||||
IO_AngularAccelOperator.cpp
|
||||
IO_BoxPlacer.cpp
|
||||
IO_CenteredPlacer.cpp
|
||||
IO_ConnectedParticleSystem.cpp
|
||||
IO_ConstantRateCounter.cpp
|
||||
IO_Emitter.cpp
|
||||
IO_ExplosionDebrisEffect.cpp
|
||||
IO_ExplosionEffect.cpp
|
||||
IO_FireEffect.cpp
|
||||
IO_FluidFrictionOperator.cpp
|
||||
IO_ForceOperator.cpp
|
||||
IO_LinearInterpolator.cpp
|
||||
IO_ModularEmitter.cpp
|
||||
IO_ModularProgram.cpp
|
||||
IO_MultiSegmentPlacer.cpp
|
||||
IO_Particle.cpp
|
||||
IO_ParticleEffect.cpp
|
||||
IO_ParticleProcessor.cpp
|
||||
IO_ParticleSystem.cpp
|
||||
IO_ParticleSystemUpdater.cpp
|
||||
IO_PointPlacer.cpp
|
||||
IO_Program.cpp
|
||||
IO_RadialShooter.cpp
|
||||
IO_RandomRateCounter.cpp
|
||||
IO_SectorPlacer.cpp
|
||||
IO_SegmentPlacer.cpp
|
||||
IO_SmokeEffect.cpp
|
||||
IO_SmokeTrailEffect.cpp
|
||||
IO_VariableRateCounter.cpp
|
||||
)
|
||||
SET(TARGET_ADDED_LIBRARIES osgParticle )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
17
src/osgPlugins/osgSim/CMakeLists.txt
Normal file
17
src/osgPlugins/osgSim/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME osgSim )
|
||||
SET(TARGET_SRC
|
||||
IO_BlinkSequence.cpp
|
||||
IO_DOFTransform.cpp
|
||||
IO_Impostor.cpp
|
||||
IO_LightPoint.cpp
|
||||
IO_LightPointNode.cpp
|
||||
IO_MultiSwitch.cpp
|
||||
IO_Sector.cpp
|
||||
IO_VisibilityGroup.cpp
|
||||
)
|
||||
SET(TARGET_H IO_LightPoint.h )
|
||||
SET(TARGET_ADDED_LIBRARIES osgSim )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
7
src/osgPlugins/osgText/CMakeLists.txt
Normal file
7
src/osgPlugins/osgText/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME osgText )
|
||||
SET(TARGET_SRC IO_Text.cpp )
|
||||
SET(TARGET_ADDED_LIBRARIES osgText )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
7
src/osgPlugins/osga/CMakeLists.txt
Normal file
7
src/osgPlugins/osga/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME osga )
|
||||
SET(TARGET_SRC OSGA_Archive.cpp ReaderWriterOSGA.cpp )
|
||||
SET(TARGET_H OSGA_Archive.h )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/osgtgz/CMakeLists.txt
Normal file
6
src/osgPlugins/osgtgz/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME osgtgz )
|
||||
SET(TARGET_SRC ReaderWriterOSGTGZ.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/pic/CMakeLists.txt
Normal file
6
src/osgPlugins/pic/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME pic )
|
||||
SET(TARGET_SRC ReaderWriterPIC.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
@@ -1,6 +1,16 @@
|
||||
|
||||
INCLUDE_DIRECTORIES( ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} )
|
||||
ADD_OSG_PLUGIN( png ${PNG_LIBRARY} ${ZLIB_LIBRARY})
|
||||
IF(MSVC)
|
||||
SET_TARGET_PROPERTIES(osgdb_png PROPERTIES LINK_FLAGS_DEBUG "/NODEFAULTLIB:MSVCRT")
|
||||
ENDIF(MSVC)
|
||||
#this file is automatically generated
|
||||
|
||||
|
||||
INCLUDE_DIRECTORIES( ${PNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} )
|
||||
LINK_DIRECTORIES( ${ZLIB_DIR}/lib ${PNG_DIR}/lib )
|
||||
|
||||
SET(TARGET_NAME png )
|
||||
SET(TARGET_SRC ReaderWriterPNG.cpp )
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${PNG_LIBRARY} ${ZLIB_LIBRARY} )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
|
||||
IF(MSVC)
|
||||
SET_TARGET_PROPERTIES("${TARGET_DEFAULT_PREFIX}${TARGET_NAME}" PROPERTIES LINK_FLAGS_DEBUG "/NODEFAULTLIB:MSVCRT")
|
||||
ENDIF(MSVC)
|
||||
|
||||
|
||||
6
src/osgPlugins/rgb/CMakeLists.txt
Normal file
6
src/osgPlugins/rgb/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME rgb )
|
||||
SET(TARGET_SRC ReaderWriterRGB.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/rot/CMakeLists.txt
Normal file
6
src/osgPlugins/rot/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME rot )
|
||||
SET(TARGET_SRC ReaderWriterROT.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/scale/CMakeLists.txt
Normal file
6
src/osgPlugins/scale/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME scale )
|
||||
SET(TARGET_SRC ReaderWriterSCALE.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
7
src/osgPlugins/shp/CMakeLists.txt
Normal file
7
src/osgPlugins/shp/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME shp )
|
||||
SET(TARGET_SRC ESRIShape.cpp ESRIShapeParser.cpp ESRIShapeReaderWriter.cpp )
|
||||
SET(TARGET_H ESRIShape.h ESRIShapeParser.h )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/stl/CMakeLists.txt
Normal file
6
src/osgPlugins/stl/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME stl )
|
||||
SET(TARGET_SRC ReaderWriterSTL.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/tga/CMakeLists.txt
Normal file
6
src/osgPlugins/tga/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME tga )
|
||||
SET(TARGET_SRC ReaderWriterTGA.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/tgz/CMakeLists.txt
Normal file
6
src/osgPlugins/tgz/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME tgz )
|
||||
SET(TARGET_SRC ReaderWriterTGZ.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
@@ -1,8 +1,11 @@
|
||||
IF(NOT MINGW)
|
||||
INCLUDE_DIRECTORIES( ${TIFF_INCLUDE_DIR} )
|
||||
#LINK_DIRECTORIES( ${TIFF_DIR}/lib )
|
||||
ADD_OSG_PLUGIN(tiff ${TIFF_LIBRARY} ${JPEG_LIBRARY} ${ZLIB_LIBRARY})
|
||||
IF(MSVC)
|
||||
SET_TARGET_PROPERTIES(osgdb_tiff PROPERTIES LINK_FLAGS_DEBUG "/NODEFAULTLIB:MSVCRT")
|
||||
ENDIF(MSVC)
|
||||
ENDIF(NOT MINGW)
|
||||
#this file is automatically generated
|
||||
|
||||
|
||||
INCLUDE_DIRECTORIES( ${TIFF_INCLUDE_DIR} )
|
||||
LINK_DIRECTORIES( ${TIFF_DIR}/lib )
|
||||
|
||||
SET(TARGET_NAME tiff )
|
||||
SET(TARGET_SRC ReaderWriterTIFF.cpp )
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${TIFF_LIBRARY} )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
|
||||
6
src/osgPlugins/trans/CMakeLists.txt
Normal file
6
src/osgPlugins/trans/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME trans )
|
||||
SET(TARGET_SRC ReaderWriterTRANS.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
7
src/osgPlugins/x/CMakeLists.txt
Normal file
7
src/osgPlugins/x/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME x )
|
||||
SET(TARGET_SRC ReaderWriterDirectX.cpp directx.cpp mesh.cpp types.cpp )
|
||||
SET(TARGET_H directx.h mesh.h types.h )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
6
src/osgPlugins/zip/CMakeLists.txt
Normal file
6
src/osgPlugins/zip/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
#this file is automatically generated
|
||||
|
||||
SET(TARGET_NAME zip )
|
||||
SET(TARGET_SRC ReaderWriterZIP.cpp )
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN()
|
||||
Reference in New Issue
Block a user