Jump to content
  • Advertisement
Sign in to follow this  
terenctb

Directory structure for development

This topic is 4304 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Friday! I was just wondering about opinions on directory organization structure of your projects for the most part I stick to a pretty *nix one. root | |-<doc> |-<project> - used for all assets, and/or current working directory |-<build> - used for building builds via a bat file or script file |-<lib> |-<bin> - utils and the like |-<prj> - project files and the like |-<source> - source *|-<include> - I hate this..thinking of dropping it. *|-<modulea> etc

Share this post


Link to post
Share on other sites
Advertisement
Something like this. Not the best, but gets the job done.

/$(ProjectName) {source files}
/$(ProjectName/obj {object files}
/bin/$(ConfigurationName)/$(ProjectName) {executables/dlls}
/lib/$(ConfigurationName/$(ProjectName) {libs}
/dependencies/lib/$(ConfigurationName)
/dependencies/include
/shared [headers shared between projects
/final/$(ConfigurationName) {final build, all .exe and .dll get xcopied here}
/final/media
/final/script

Share this post


Link to post
Share on other sites
For OOP I always have a folder called sCrap. It's where all of trials & failed attempts end up for reference. Not sure if I intend it to mean scrap or shawn's crap.

Share this post


Link to post
Share on other sites
Nice and boring:

d:/projectname/code
d:/projectname/build
d:/projectname/docs
d:/projectname/tools


Actual contents of each section varies an awful lot by project; usually it's fairly arbitrary.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!