realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

Restructure the /tools folder and platform-specific build files #613

Closed Stinkfist0 closed 11 years ago

Stinkfist0 commented 11 years ago

The current /tools folder is a mess. As we already the have the root level /android folder which contains files and batch scripts necessary for the Android build process, I would suggest similar approach for other targeted platforms: create root-level /Windows, /OSX, and /Linux (or Ubuntu?) folder that contains platform-specific files and scripts. Or maybe have a /Build folder and make the aforementioned folders sub-folders of that?

jonnenauha commented 11 years ago

Please don't start capitalizing folders in root. None of them are right now except under src and thats because those folder names are used in source code include lines. Should just make them /windows /osx /linux.

I don't think forcing code filename conventions to all files in the repo is needed here. Capitalizing anything if not under /src should be banned imo.

Maybe we should start on windows with this and see if linux folks want to join the party. I'd still build deps to /deps not /windows/deps.

+1 for the idea in general.

antont commented 11 years ago

+1 definitely for restructuring that dump,

BUT I quite prefer not having N subfolders for platform in the root -- I like having a minimal set in root, like src/ is good to have all the codes in.

so am in favour of something like build/platname for those .. just that 'build' is not a good name as it is often used by build systems too to put their output or something. platform/ feels a bit weird too, though platform/andrdoid, platform/windows, platform/macosx etc would seem like it'd read nicely.

I hope someone suggests a great name for such a dir and we use that :)

and I propose we should think of other possible top level name(s) for other things in tools too if we wanna keep some of those.

Stinkfist0 commented 11 years ago

Ah naturally "build" is out of a question as it's already used when doing builds.

Regarding filename conventions: if other people don't like being consistent throughout the codebase I don't loose my sleep over it.

jonnenauha commented 11 years ago

I have to agree with Toni tbh, root should be kept clean and minimal. It's quite nice now except of the android thing, but that I understood had to be there for some reason (?).

I think many projects have at least ready made project files in /contrib but it might be due people contributing them, dunno whats the historical relevance of contrib.

/tools/<platform> would probably work just fine, as long as we get it cleaned at some point so it wont have any files in /tools.

Stinkfist0 commented 11 years ago

/tools/<platform> sounds ok, if no-one comes up with a better root-level parent folder for these.