Re: [osg-users] CMake Structure for new projects

2010-04-01 Thread Torben Dannhauer
Hi,
I've migrated my Project to CMAKE, it works great. 

For other CMAKE beginners:
http://www-flc.desy.de/ldcoptimization/documents/talks/CMake_Tutorial.pdf

Generating vcproj file, if using MSVC to preset debugging parameter:
http://stackoverflow.com/questions/1005901/how-to-set-path-environment-variable-using-cmake-and-visual-studio-to-run-test

Thank you!

Cheers,
Torben

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26364#26364





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CMake Structure for new projects

2010-02-23 Thread Philip Lowman
On Mon, Feb 22, 2010 at 7:37 AM, J.P. Delport jpdelp...@csir.co.za wrote:
 Hi Robert,

 in our project we have minimum required 2.6.3. I've quickly checked the
 cmake 2.6.4 source and the FindOpenSceneGraph.cmake module is there at
 least. Philip Lowman will be able to give more detail I think.

Yeah, it's in all releases = 2.6.3. The documentation is pretty self
explanatory.  If anyone has any issues with it or needs anything added
please file a ticket on the CMake bug tracker.  Generally email me too
because often tickets don't get promptly assigned.

http://www.cmake.org/Bug

-- 
Philip Lowman
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CMake Structure for new projects

2010-02-22 Thread Robert Osfield
Hi Torben,

On Mon, Feb 22, 2010 at 10:50 AM, Torben Dannhauer
z...@saguaro-fight-club.de wrote:
 Has OSG any agreement about the directory/cmake structure?

I'm not sure the OSG itself would be a good template as it's cmake
support is way more complicated that most app or libraries will ever
need.  The complication comes down to trying to make it easier to
manage a single project that contains hundreds components that are
compiled separately but in a dependent way.

At the end of last year I put together a simple project containers for
various application tests and demos.  I now use this container for
doing lots of quick through away tests as I can copy and paste a
CmakeLists very quickly.  I haven't made a formal release of it, and
it's not been tested other than my own little bits, but might serve as
a bit of inspiration. You can grab it from svn using:

  snv co http://www.openscenegraph.osg/svn/osg/OpenSceneGraph-Demos/trunk
OpenSceneGraph-Demos

 To prepare publication of my project, I'd like to know if I had to follow 
 some rules in my cmake structure.

Good luck with the project ;-)

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CMake Structure for new projects

2010-02-22 Thread Torben Dannhauer
Hi Robert,

great, I'll dive into it!

Thank you!

Cheers,
Torben

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24589#24589





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CMake Structure for new projects

2010-02-22 Thread J.P. Delport

Hi,

if you just want to use OSG in your project you can also look at the new 
support for finding OSG in CMake.


We e.g. use something like this:

SET(OpenSceneGraph_MARK_AS_ADVANCED ON)
FIND_PACKAGE(OpenSceneGraph 2.9.6 REQUIRED osgViewer osgUtil osgTerrain 
osgGA osgFX osgDB osgText osgSim osgParticle)

...

jp

Torben Dannhauer wrote:

Hi Robert,

great, I'll dive into it!

Thank you!

Cheers,
Torben

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24589#24589





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CMake Structure for new projects

2010-02-22 Thread Robert Osfield
Hi J.P,

Which version of CMake has this support?

Robert.

On Mon, Feb 22, 2010 at 12:08 PM, J.P. Delport jpdelp...@csir.co.za wrote:
 Hi,

 if you just want to use OSG in your project you can also look at the new
 support for finding OSG in CMake.

 We e.g. use something like this:

 SET(OpenSceneGraph_MARK_AS_ADVANCED ON)
 FIND_PACKAGE(OpenSceneGraph 2.9.6 REQUIRED osgViewer osgUtil osgTerrain
 osgGA osgFX osgDB osgText osgSim osgParticle)
 ...

 jp

 Torben Dannhauer wrote:

 Hi Robert,

 great, I'll dive into it!

 Thank you!

 Cheers,
 Torben

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=24589#24589





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

 --
 This message is subject to the CSIR's copyright terms and conditions, e-mail
 legal notice, and implemented Open Document Format (ODF) standard. The full
 disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

 This message has been scanned for viruses and dangerous content by
 MailScanner, and is believed to be clean.  MailScanner thanks Transtec
 Computers for their support.

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CMake Structure for new projects

2010-02-22 Thread J.P. Delport

Hi Robert,

in our project we have minimum required 2.6.3. I've quickly checked the 
cmake 2.6.4 source and the FindOpenSceneGraph.cmake module is there at 
least. Philip Lowman will be able to give more detail I think.


jp

Robert Osfield wrote:

Hi J.P,

Which version of CMake has this support?

Robert.

On Mon, Feb 22, 2010 at 12:08 PM, J.P. Delport jpdelp...@csir.co.za wrote:

Hi,

if you just want to use OSG in your project you can also look at the new
support for finding OSG in CMake.

We e.g. use something like this:

SET(OpenSceneGraph_MARK_AS_ADVANCED ON)
FIND_PACKAGE(OpenSceneGraph 2.9.6 REQUIRED osgViewer osgUtil osgTerrain
osgGA osgFX osgDB osgText osgSim osgParticle)
...

jp

Torben Dannhauer wrote:

Hi Robert,

great, I'll dive into it!

Thank you!

Cheers,
Torben

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24589#24589





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
This message is subject to the CSIR's copyright terms and conditions, e-mail
legal notice, and implemented Open Document Format (ODF) standard. The full
disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.  MailScanner thanks Transtec
Computers for their support.

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] CMake Structure for new projects

2010-02-22 Thread J.P. Delport

Hi,

from http://www.cmake.org/files/v2.6/CMakeChangeLog-2.6.4

Changes in CMake 2.6.3 RC 11
- add FindOpenSceneGraph.cmake

jp

J.P. Delport wrote:

Hi Robert,

in our project we have minimum required 2.6.3. I've quickly checked the 
cmake 2.6.4 source and the FindOpenSceneGraph.cmake module is there at 
least. Philip Lowman will be able to give more detail I think.


jp

Robert Osfield wrote:

Hi J.P,

Which version of CMake has this support?

Robert.

On Mon, Feb 22, 2010 at 12:08 PM, J.P. Delport jpdelp...@csir.co.za 
wrote:

Hi,

if you just want to use OSG in your project you can also look at the new
support for finding OSG in CMake.

We e.g. use something like this:

SET(OpenSceneGraph_MARK_AS_ADVANCED ON)
FIND_PACKAGE(OpenSceneGraph 2.9.6 REQUIRED osgViewer osgUtil osgTerrain
osgGA osgFX osgDB osgText osgSim osgParticle)
...

jp

Torben Dannhauer wrote:

Hi Robert,

great, I'll dive into it!

Thank you!

Cheers,
Torben

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24589#24589





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 


--
This message is subject to the CSIR's copyright terms and conditions, 
e-mail
legal notice, and implemented Open Document Format (ODF) standard. 
The full
disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.


This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.  MailScanner thanks Transtec
Computers for their support.

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 




___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org