Sha256: 7b2b014253aa90ff7700799d1922d011a223d363822c15d831821c46be72fe47

Contents?: true

Size: 1.13 KB

Versions: 29

Compression:

Stored size: 1.13 KB

Contents

The link order
==============

The link order depends on the order of library definitions and dependencies in the Project.meta files.

In general, if a library X depends on a library Y, the library X must be linked before Y.

Example:
********

.. code-block:: console

    Project A:

    Dependency B
    Dependency C

.. code-block:: console

    Project B:

    Dependency D

.. code-block:: console

    Project C:

    Dependency D

.. code-block:: console

    Project D:

The link order will be

- Objects of A
- B
- C
- D

Same example but with external libraries:
*****************************************

.. code-block:: console

    Project A:

    ExternalLibrary a1
    Dependency B
    ExternalLibrary a2
    Dependency C
    ExternalLibrary a3

.. code-block:: console

    Project B:

    ExternalLibrary b1
    Dependency D
    ExternalLibrary b2

.. code-block:: console

    Project C:

    ExternalLibrary c1
    Dependency D
    ExternalLibrary c2

.. code-block:: console

    Project D:

    ExternalLibrary d1
    ExternalLibrary d2

The link order will be

- Objects of A
- a1
- B
- b1
- b2
- a2
- C
- c1
- D
- d1
- d2
- c2
- a3

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
bake-toolkit-2.29.4 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.29.3 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.29.2 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.29.0 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.28.1 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.28.0 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.27.0 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.26.1 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.26.0 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.25.1 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.25.0 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.24.6 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.24.5 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.24.4 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.24.3 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.24.2 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.24.1 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.24.0 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.23.12 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.23.8 documentation/_build/html/_sources/concepts/link_order.txt