Hi Gerrit,

Gerrit Voß wrote:
> not yet, we usually only convert a single main file to the app, all
> the rest is build as libs. I wanted to work on external stuff anyway
> so that you can easily create and import the OpenSG cmake settings,
> in particular the compiler settings.
> I have some preliminary helper functions. I'll see if I can add
> this feature.

hm, cmake modules (the FindFoo.cmake files used by find_package) can 
operate in two modes [1], most are like FindOpenSG.cmake written to 
search all necessary information and deduce settings from what they 
discover. The other mode just attempts to locate a file named 
FooConfig.cmake or foo-config.cmake and take all settings from there.
Perhaps that is the way to go to export all the information you want 
from the build?

        Cheers,
                Carsten


[1] the FindPackage documentation has some info on this and this wiki 
page <http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries> might be of 
interest.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to