Thanks Paul, changes now merged and submitted to svn/trunk.  Cheers, Robert.

On 25 April 2014 17:37, Paul Martz <[email protected]> wrote:
> Hi Robert -- Resubmitting based on current trunk (r14172).
>
> What this submission does:
>
> There is no standard place for gl/glcorearb.h on Windows. Previously, the
> only way to get OSG to build for core profile was to append an additional
> include directory ("/I") onto the CFLAGS variables This submission adds a
> FindGLCORE.cmake script so that the path to gl/glcorearb.h can be specified
> with a variable, GLCORE_ROOT, either in CMake or the environment.
>
> Currently this submission is Windows-only. I don't think OSX or Linux
> require any help in locating gl/glcorearb.h. But if they do, this submission
> can be easily modified.
>
> Files:
>  - "CMakeLists.txt" is the top-level file.
>  - FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules.
>
> Thanks!
>    -Paul
>
> P.S. The original submission from Feb 7 was still valid -- creating a patch
> and applying it to trunk with "patch -u" worked flawlessly. But I've
> modified the original submission as follows:
>  - Name change "FindGL3.cmake" -> "FindGLCORE.cmake" per current name
> conventions in the OSG top-level CMakeLists.txt, and changed the names of
> CMake variables accordingly.
>  - Changed the location of the find_package(GLCORE) call so that it is
> adjacent to the glcorearb.h reference in the top-level CMakeLists.txt.
>
>
> On Wed, Apr 23, 2014 at 3:07 AM, Robert Osfield <[email protected]>
> wrote:
>>
>> Hi Paul,
>>
>> I have spent a couple of days working on CMake and a few source code
>> changes to make it easier to set up the OSG to build against different
>> OpenGL/OpenGL targets.  I would consider it work in progress as I'm
>> the only one to test it, and have only just checked in the changes to
>> svn/trunk.  I've written a post to osg-users calling for feedback so
>> it would best to move further discussion to that thread so others can
>> chip in easily.
>>
>> Cheers,
>> Robert.
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>
>
> --
>    -Paul
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to