Changes between Version 46 and Version 47 of BuildAndDeploymentEnvironment


Ignore:
Timestamp:
Jan 17, 2012, 8:55:57 PM (12 years ago)
Author:
Yves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildAndDeploymentEnvironment

    v46 v47  
    1515The sh-script on Linux/*nix/OSX runs the compilation of some external dependencies and also premake.
    1616On Windows the batchfile only executes premake because most of the dependencies are precompiled.
     17
     18For 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.
    1722
    1823== Premake ==
     
    121126||XDG_DATA_HOME||~/.local/share||
    122127
    123 For release packaging, `update-workspaces.sh` can be used to set compile-time, absolute paths used by the game (to override defaults):
     128For release packaging, `update-workspaces.sh` can be used to set compile-time, absolute paths used by the game (to override defaults).
     129It 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):
    124130 * `--bindir=/path/to/bin` sets the location of the pyrogenesis executable (eg. /usr/bin or /opt/0ad/system). Defines the `INSTALLED_BINDIR` preprocessor directive.
    125131 * `--libdir=/path/to/lib` sets the location of the bundled libraries (eg. /usr/lib). Defines the `INSTALLED_DATADIR` preprocessor directive.