Author Topic: shared_lib  (Read 1733 times)

daniel.santos

  • Guest
shared_lib
« on: 17 October 2009, 16:27:09 »
Is there a good reason why we have separate directories for includes & sources in the shared lib?

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: shared_lib
« Reply #1 on: 18 October 2009, 00:51:05 »
Because it's inconsistent and inconvenient, and that's the GAE way ? :)
Glest Advanced Engine - Code Monkey

Timeline | Downloads

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: shared_lib
« Reply #2 on: 18 October 2009, 09:33:54 »
When you distribute a library you usually have a .lib/a file instead of the implementation files. Having them separate makes it easier to remove the implementation files. Since shared_lib is not likely to be distributed without sources I think it was done by convention just in case rather than practicality.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

daniel.santos

  • Guest
Re: shared_lib
« Reply #3 on: 18 October 2009, 15:17:56 »
ahh, thanks hailstone! :)

Well, if we decide to have the library really be a shared library, we can have an install that just installs the headers. :)  So what do you guys say we just move everything from sources/shared_lib/{include,sources} to sources/shared_lib?

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: shared_lib
« Reply #4 on: 19 October 2009, 11:01:19 »
I say, 'good idea'.  :)
Glest Advanced Engine - Code Monkey

Timeline | Downloads

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: shared_lib
« Reply #5 on: 19 October 2009, 22:06:11 »
I haven't merged the trunk with any of my branches for a while so they are going to be 'really' out of sync if this happens. I think we should stick it on a TODO for after v0.3.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

daniel.santos

  • Guest
Re: shared_lib
« Reply #6 on: 22 October 2009, 19:28:54 »
OK, that sounds fair enough.  I admit that I'm not a big fan of merging and I've learned a few lessons on it.  I did it all manually (i.e., not depending upon "svn merge") with kdiff3, but any descent 3 diff program should work.  Also, I merged the "glest_game" with "game" and glest_map_editor" with "map_editor" separately, and then did the rest of the tree.

daniel.santos

  • Guest
Re: shared_lib
« Reply #7 on: 29 October 2009, 18:26:28 »
hailstone,
I really want to get the major project changes all out of the way and I think this is the last one.  So I would rather do it sooner than later.  Maybe I can help with your merge?

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: shared_lib
« Reply #8 on: 30 October 2009, 04:26:22 »
Perhaps tag the trunk first then the next version can be dedicated to project changes. I'm not likely to make any changes until next week since I have exams soon.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

 

anything