root/OpenSceneGraph/trunk/src/osg/Config.in @ 13557

Revision 13557, 1.8 kB (checked in by robert, 6 hours ago)

From Mattias Helsing, "Seems I was only half right given what you asked for. CMP0017 only
says that modules that are found and ran from cmake modules dir should
prefer cmake-provided modules. find_package() and include() still look
in CMAKE_MODULE_PATH first.

After some investigating I've come up with a proposal examplified in
the attached FindGDAL.cmake script. It simply calls the cmake provided
FindGDAL.cmake if it exists and returns if it succeeds in finding GDAL
using that, otherwise continue with our local cmake code.
Pro: Wont clutter our root CMakeLists.txt
Con: If we begin to write more advanced Findxxx modules (using
COMPONENTS, REQUIRED etc.) we may have to revise this scheme.
"

  • Property svn:eol-style set to native
Line 
1/* -*-c++-*- OpenSceneGraph - Copyright (C) 2008-2009 Robert Osfield
2 *
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version.  The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 * OpenSceneGraph Public License for more details.
12*/
13
14/****************************************************************************
15 * THIS FILE IS AUTOGENERATED BY CMAKE. DO NOT EDIT!
16 ****************************************************************************/
17
18/* Changes to the configuration reflected here can be made with ccmake on
19 * unix or with cmake-gui on windows. Alternatively you can use cmake's -D
20 * or -P switches to set some configuration values at cmake configuration time.
21 */
22
23#ifndef OSG_CONFIG
24#define OSG_CONFIG 1
25
26#cmakedefine OSG_NOTIFY_DISABLED
27#cmakedefine OSG_USE_FLOAT_MATRIX
28#cmakedefine OSG_USE_FLOAT_PLANE
29#cmakedefine OSG_USE_FLOAT_BOUNDINGSPHERE
30#cmakedefine OSG_USE_FLOAT_BOUNDINGBOX
31#cmakedefine OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION
32#cmakedefine OSG_USE_UTF8_FILENAME
33#cmakedefine OSG_DISABLE_MSVC_WARNINGS
34
35#cmakedefine OSG_GL1_AVAILABLE
36#cmakedefine OSG_GL2_AVAILABLE
37#cmakedefine OSG_GL3_AVAILABLE
38#cmakedefine OSG_GLES1_AVAILABLE
39#cmakedefine OSG_GLES2_AVAILABLE
40#cmakedefine OSG_GL_LIBRARY_STATIC
41#cmakedefine OSG_GL_DISPLAYLISTS_AVAILABLE
42#cmakedefine OSG_GL_MATRICES_AVAILABLE
43#cmakedefine OSG_GL_VERTEX_FUNCS_AVAILABLE
44#cmakedefine OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE
45#cmakedefine OSG_GL_FIXED_FUNCTION_AVAILABLE
46
47#endif
Note: See TracBrowser for help on using the browser.