Changes between Version 17 and Version 18 of BuildAndDeploymentEnvironment
- Timestamp:
- Jan 15, 2012, 5:03:52 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildAndDeploymentEnvironment
v17 v18 9 9 10 10 11 ---- 12 = Overview current design = 11 13 12 == Overview current design == 13 14 === update-workspaces.sh / update-workspaces.bat: === 14 == update-workspaces.sh / update-workspaces.bat: == 15 15 The sh-script on Linux/*nix/OSX runs the compilation of some external dependencies and also premake. 16 16 On Windows the batchfile only executes premake because most of the dependencies are precompiled. 17 17 18 == = Premake ===18 == Premake == 19 19 Premake creates our workspaces (also called solutions or projects) for the different platforms. 20 20 Currently we support Makefiles, VisualStudio (2005, 2008, 2010), Xcode3, Codeblocks. 21 21 22 == = Workspaces ===22 == Workspaces == 23 23 The workspaces are used for building the code on different platform and also for development with different programs (IDE's). 24 24 25 == = Deployment ===25 == Deployment == 26 26 For (alpha-)releases we make a special deployment for various reasons. The main reason is that we want to make it easier and more convenient for the user. 27 27 Everything is precompiled and distributed in appropriate containers for the different operating systems and platforms (e.g. .deb files for debian based linux systems and .exe files for windows etc.). 28 28 29 29 30 ---- 31 = Future design = 30 32 31 == Future design == 32 33 === Overview === 33 == Overview == 34 34 Some basic design decisions 35 35 * In the first place we stick to Premake. If someone offers a working solution with other tools like CMake, we are open to change that decision. … … 42 42 * We don't use special "subversion tricks" like externals definitions and instead keep separate identical copies of libraries if necessary. Storage isn't a problem and we don't update the libraries often. Other arguments brought up by Philip: "... it'll probably confuse Trac and it'll probably make mirroring/migrating to Git harder". 43 43 44 == = Graphical overview of interaction between different components (future-version) ===44 == Graphical overview of interaction between different components (future-version) == 45 45 [[Image(http://trac.wildfiregames.com/attachment/wiki/BuildAndDeploymentEnvironment/future-build-environment-overview.png?format=raw)]] 46 46 47 == = Overview of the repository structure ===47 == Overview of the repository structure == 48 48 49 49 {{{ … … 87 87 }}} 88 88 89 == = Updateworkspaces ===89 == Updateworkspaces == 90 90 91 91 Updateworkspaces must check if the library is present and up to date. If not, it should stop and display an error. … … 93 93 94 94 95 ---- 96 = Macosx packaging = 95 97 96 == Macosx packaging == 97 98 === Where to place which files? === 98 == Where to place which files? == 99 99 ||'''Name'''||'''Readonly'''||'''Description'''||'''Path MAC'''||'''Determined by/Set where?'''|| 100 100 ||Game data root||Y||Data-Directory for static game data||[Bundle]/Contents/Resources/data||m_rdata in Paths.cpp||