Changes between Version 46 and Version 47 of BuildAndDeploymentEnvironment
- Timestamp:
- Jan 17, 2012, 8:55:57 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildAndDeploymentEnvironment
v46 v47 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 18 For release packaging, `update-workspaces.sh` can be used to set compile-time, absolute paths used by the game (to override defaults): 19 * `--bindir=/path/to/bin` sets the location of the pyrogenesis executable (eg. /usr/bin or /opt/0ad/system). Defines the `INSTALLED_BINDIR` preprocessor directive. 20 * `--libdir=/path/to/lib` sets the location of the bundled libraries (eg. /usr/lib). Defines the `INSTALLED_DATADIR` preprocessor directive. 21 * `--datadir=/path/to/data` sets the location of the game's data (e.g. /usr/share/0ad/data, /usr/local/share/0ad/data, or /opt/0ad/data). Defines the `INSTALLED_LIBDIR` preprocessor directive. 17 22 18 23 == Premake == … … 121 126 ||XDG_DATA_HOME||~/.local/share|| 122 127 123 For release packaging, `update-workspaces.sh` can be used to set compile-time, absolute paths used by the game (to override defaults): 128 For release packaging, `update-workspaces.sh` can be used to set compile-time, absolute paths used by the game (to override defaults). 129 It should now offer a parameter for each path in the table below and not just for bindir, libdir and datadir (to be decided which ones of those can be replaced and which should be added): 124 130 * `--bindir=/path/to/bin` sets the location of the pyrogenesis executable (eg. /usr/bin or /opt/0ad/system). Defines the `INSTALLED_BINDIR` preprocessor directive. 125 131 * `--libdir=/path/to/lib` sets the location of the bundled libraries (eg. /usr/lib). Defines the `INSTALLED_DATADIR` preprocessor directive.