Changes between Version 43 and Version 44 of BuildAndDeploymentEnvironment
- Timestamp:
- Jan 17, 2012, 8:20:53 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildAndDeploymentEnvironment
v43 v44 145 145 146 146 == 1. Change how the game handles default search paths == 147 Each OS should have its default behaviour that should make sense for that OS .147 Each OS should have its default behaviour that should make sense for that OS (see the table above). 148 148 For Windows and Linux that's already quite good, but OSX requires improvements. 149 149 150 It should b y default work for twodifferent situations.150 It should be distinguished between three different situations. 151 151 152 1. The current situation where the pyrogenesis binary is in 0ad/binaries/system, data is in 0ad/binaries/data etc...152 1. The current situation in development where the pyrogenesis binary is in 0ad/binaries/system, data is in 0ad/binaries/data etc... 153 153 1. The situation when everything is in a bundle and the directories are organized as described in "Where to place which files?" in this article. 154 1. Special situations where the users wants to use customized directories. It should be sufficient to solve this with preprocessor directives because if anyone want's to change it, it's either an advanced user or package maker anyway and generally there should be no need to change it. Each defined location in the table above should be customizable with one dedicated preprocessor directive. 154 155 155 In addition to that, all the paths should be customizable with parameters or environment variables (what's better?).156 156 157 157 == 2. Adjust the build-system and documentation for a separate library directory == 158 Unassigned 159 160 This task involves: 161 1. Changing the repository structure as listed above 162 1. Check if the libraries are present and up-to-date in update-workspaces.sh as described above. 163 1. Adjusting premake4.lua, extern_libs4.lua, update-workspaces.sh and whatever else might be needed to support these changes 164 1. Update all affected documentation 165 166 Affected documentation: 167 * BuildInstructions 168 * ... what else? 158 169 159 170 == 3. Prepare the libraries for each platform == 171 Assigned: historic_bruno? [http://trac.wildfiregames.com/ticket/1112 #1112] 172 160 173 Either include precompiled libraries or integrate the source-code into our build-scripts (called from update-workspaces.sh). 161 174 It depends on the platform and probably on the library if the source or a precompiled version should be included. 162 175 163 176 == 4. Write a script to create the bundle from the prebuilt libraries, the game-executables and the data == 177 Assigned: Yves has started creating such a script 178 * The script must support the new repository structure 179 * It should minimize maintenance effort 164 180 165 181 == 5. Check CMake as an alternative in the future or work on improved XCode support for Premake == 182 Assigned: Juicyfruit works on an integration of CMake: [http://trac.wildfiregames.com/ticket/1104 #1104] 166 183 184 == 6. Create a plain binary instead of a broken app-bundle == 185 Assigned: Yves [http://trac.wildfiregames.com/ticket/947 #947] 186 187 The normal build-process should create a normal binary in 0a/binaries/system instead of a broken app bundle. 167 188 ----