Hi, just to keep it a little on track. This is mainly about windows especially with multi target (>2) visual studio (mtvs) solutions. You have to forget the simplicity of the unix makefile variants.
On Fri, 2009-06-19 at 09:42 -0500, Carsten Neumann wrote: > 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. IMHO not quite, the simplistic just set _INCLUDE _LIBRARIES and _LIBRARY_DIRS does not work well with windows mtvs solutions, especially with custom build targets and the 'set all to the one that was' found approach. > 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? hmm, not sure if I really want to go there as having two versions of the same thing is usually a consistency nightmare. And there is one thing that applies to all platforms, it is not just about getting a few settings. Getting file handling is IMHO essential. We can't really tell people, use fcd2code to generate containers and than don't provide the means to do so reasonable efficiently. At least with the native build system there should be an 'reasonably' easy way to do so. kind regards, gerrit ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
