I have not reverted added Compiler options. I assume that one may want to have warnings enabled for the application but may not want to see them while OSG libraries and examples compile. Modified files: osg/Export - now explicitly includes osg/Config to make sure OSG_DISABLE_MSVC_WARNINGS is read osg/Config.in - declares OSG_DISABLE_MSVC_WARNINGS flag to be added to autogenerated osg/Config CMakeLists.txt - declares OSG_DISABLE_MSVC_WARNINGS as option with default ON setting "
36 lines
1.4 KiB
C++
36 lines
1.4 KiB
C++
/* -*-c++-*- OpenSceneGraph - Copyright (C) 2008 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.
|
|
*/
|
|
|
|
/****************************************************************************
|
|
* THIS FILE IS AUTOGENERATED BY CMAKE. DO NOT EDIT!
|
|
****************************************************************************/
|
|
|
|
/* Changes to the configuration reflected here can be made with ccmake on
|
|
* unix or with cmake-gui on windows. Alternatively you can use cmake's -D
|
|
* or -P switches to set some configuration values at cmake configuration time.
|
|
*/
|
|
|
|
#ifndef OSG_CONFIG
|
|
#define OSG_CONFIG 1
|
|
|
|
#cmakedefine OSG_USE_FLOAT_MATRIX
|
|
#cmakedefine OSG_USE_FLOAT_PLANE
|
|
#cmakedefine OSG_USE_FLOAT_BOUNDINGSPHERE
|
|
#cmakedefine OSG_USE_FLOAT_BOUNDINGBOX
|
|
#cmakedefine OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION
|
|
#cmakedefine OSG_USE_UTF8_FILENAME
|
|
#cmakedefine OSG_DISABLE_MSVC_WARNINGS
|
|
|
|
|
|
#endif
|