From: Nigel S. <nig...@gm...> - 2014-07-25 01:43:30
|
I think the difference is that config.h is platform-specific, whereas fg_version.h is not and bypasses cmake in other build environments. - Nigel On Fri, Jul 25, 2014 at 11:40 AM, Vinnie Simonetti <rcm...@ho...> wrote: > I replied on Github <https://github.com/dcnieho/FreeGLUT/issues/15>. > > > > "Why generate a fg_version.h when it can just be written to config.h which > cmake (and others) already generate?” > > > > Vinnie > > > > *From:* Diederick C. Niehorster [mailto:dc...@gm...] > *Sent:* Thursday, July 24, 2014 9:25 PM > *To:* FreeGLUT developers list; Nigel Stewart > *Subject:* [Freeglut-developer] Fwd: [FreeGLUT] Is there a good reason > for VERSION_MAJOR etc to migrate to cmake? (#15) > > > > Hi Guys, > > > > Please see the below. What do others feel? > > > > All the best, > > Dee > > ---------- Forwarded message ---------- > From: *Nigel Stewart* <not...@gi...> > Date: Fri, Jul 25, 2014 at 9:04 AM > Subject: Re: [FreeGLUT] Is there a good reason for VERSION_MAJOR etc to > migrate to cmake? (#15) > To: dcnieho/FreeGLUT <Fre...@no...> > Cc: "Diederick C. Niehorster" <dc...@gm...> > > What I mean by "established build toolchain" is that I can think of at > least three source trees building and using freeglut that are not using > cmake and are not likely to be migrated. So needing to manage the version > numbering in each one of those seems like a pain. I was wondering if you'd > consider a patch that would generate a fg_version.h from cmake, which would > be checked-in and #included from fg_internal.h ? > > — > Reply to this email directly or view it on GitHub > <https://github.com/dcnieho/FreeGLUT/issues/15#issuecomment-50097452>. > > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Freeglut-developer mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer > > |