Hi Robert,

Please find attachments which should be placed in src/osgPresentation.
These will make Windows build work.

Cheers,

Wang Rui
IF(DYNAMIC_OPENSCENEGRAPH)
    ADD_DEFINITIONS(-DOSGPRESENTATION_LIBRARY)
ELSE()
    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
ENDIF()

SET(LIB_NAME osgPresentation)
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
SET(TARGET_H
    ${HEADER_PATH}/Action
    ${HEADER_PATH}/Export
    ${HEADER_PATH}/Cursor
    ${HEADER_PATH}/Group

    ${HEADER_PATH}/Presentation
    ${HEADER_PATH}/Section
    ${HEADER_PATH}/Slide
    ${HEADER_PATH}/Layer

    ${HEADER_PATH}/Element
    ${HEADER_PATH}/Text
    ${HEADER_PATH}/Model
    ${HEADER_PATH}/Volume
    ${HEADER_PATH}/Image
    ${HEADER_PATH}/Movie
    ${HEADER_PATH}/Audio

    ${HEADER_PATH}/deprecated/AnimationMaterial
    ${HEADER_PATH}/deprecated/CompileSlideCallback
    ${HEADER_PATH}/deprecated/PickEventHandler
    ${HEADER_PATH}/deprecated/PropertyManager
    ${HEADER_PATH}/deprecated/KeyEventHandler
    ${HEADER_PATH}/deprecated/SlideEventHandler
    ${HEADER_PATH}/deprecated/SlideShowConstructor
    ${HEADER_PATH}/deprecated/Timeout
)

# FIXME: For OS X, need flag for Framework or dylib
SET(TARGET_SRC
    Action.cpp
    Audio.cpp
    Cursor.cpp
    Group.cpp
    Element.cpp
    Text.cpp
    Model.cpp

    deprecated/AnimationMaterial.cpp
    deprecated/CompileSlideCallback.cpp
    deprecated/PickEventHandler.cpp
    deprecated/PropertyManager.cpp
    deprecated/KeyEventHandler.cpp
    deprecated/SlideEventHandler.cpp
    deprecated/SlideShowConstructor.cpp
    deprecated/Timeout.cpp
    ${OPENSCENEGRAPH_VERSIONINFO_RC}
)

SET(TARGET_LIBRARIES
    osgViewer
    osgManipulator
    osgVolume
    osgFX
    osgText
    osgGA
    osgUtil
    osgDB
    osg
    OpenThreads
)

SETUP_LIBRARY(${LIB_NAME})

/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2013 Robert Osfield
 *
 * This library is open source and may be redistributed and/or modified under
 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
 * (at your option) any later version.  The full license is in LICENSE file
 * included with this distribution, and on the openscenegraph.org website.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * OpenSceneGraph Public License for more details.
*/

#include <osgPresentation/Audio>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to