Sign in to follow this  

Project Layout

This topic is 4200 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

Hi all, I've been rethinking the source layout of the project I am working on. It is a client/server based game, and is getting to the point where I will need to begin work on making it cross-platform-build friendly, as well as begin developing the server app. Currently I have the project layout as such:
/root
  /client        -- contains all client source files
    /output      -- contains the root of the end-user directory structure
        /graphics
        /sound
        /config
        /map
        /data
  /server        -- contains all server source files
    /output      -- contains the root of the server directory structure
        /config
        /pkg

The only source files which would be shared between client and server, would be the network, map, and map-object files. Otherwise, each source file is specific to either the client or the server, but not both. I have seen other projects of similar concept (e.g. cross platform, sharing source files across client and server), which use a similar layout, but they usually contain platform-specific directories for Windows .rc files and project files, Linux make files and readme, Mac OS Xcode files, etc. I'm just wondering if there is a usual or customary method of source- and project-tree, which would be more beneficial than the method I've outlined above. Many thanks for your time :)

Share this post


Link to post
Share on other sites

This topic is 4200 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this