Sha256: c9615d714e18ab45cf879fe7ffe09861b02beaab928068368599e8adb3b9559a

Contents?: true

Size: 1.22 KB

Versions: 8

Compression:

Stored size: 1.22 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

8 entries across 8 versions & 1 rubygems

Version Path
bake-toolkit-2.20.4 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.20.3 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.20.2 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.20.1 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.19.2 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.19.1 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.19.0 documentation/_build/html/_sources/concepts/link_order.txt
bake-toolkit-2.18.0 documentation/_build/html/_sources/concepts/link_order.txt