From Jean-Sebastien Guay, build fixes for Windows

This commit is contained in:
Robert Osfield 2010-09-08 08:09:01 +00:00
parent d1ee7bca8d
commit 4fe88ee2e4
2 changed files with 7 additions and 6 deletions

View File

@ -28,7 +28,7 @@ namespace osgText {
class TextNode;
class Glyph;
class Bevel : public osg::Object
class OSGTEXT_EXPORT Bevel : public osg::Object
{
public:
@ -61,7 +61,7 @@ class Bevel : public osg::Object
};
class Style : public osg::Object
class OSGTEXT_EXPORT Style : public osg::Object
{
public:
@ -104,7 +104,7 @@ class Style : public osg::Object
float _sampleDensity;
};
class Layout : public osg::Object
class OSGTEXT_EXPORT Layout : public osg::Object
{
public:
@ -121,7 +121,7 @@ class Layout : public osg::Object
protected:
};
class TextTechnique : public osg::Object
class OSGTEXT_EXPORT TextTechnique : public osg::Object
{
public:
@ -160,7 +160,7 @@ class TextTechnique : public osg::Object
TextNode* _textNode;
};
class TextNode : public osg::Group
class OSGTEXT_EXPORT TextNode : public osg::Group
{
public:
@ -226,4 +226,4 @@ class TextNode : public osg::Group
}
#endif
#endif

View File

@ -45,6 +45,7 @@ ADD_LIBRARY(${LIB_NAME}
LINK_INTERNAL(${LIB_NAME}
osgDB
osg
osgUtil
OpenThreads
)
LINK_CORELIB_DEFAULT(${LIB_NAME})