Sha256: 04a7422a83ae744640e932dcbd7a94c9fcff3e20444cd6154655c5f65031ae92

Contents?: true

Size: 1.08 KB

Versions: 29

Compression:

Stored size: 1.08 KB

Contents

Auto-adjustment of paths to existing projects
=============================================

If paths to other projects are needed, e.g. to "bootloaderUpdater", don't write a hard coded relative path like this:

.. code-block:: text

    CommandLine "../bootloaderUpdater/tools/PrimaryBootloader2Include.exe

If paths to other projects are needed, e.g. to "bootloaderUpdater" just reference it starting from the project folder.

Example:

.. code-block:: text

    CommandLine "bootloaderUpdater/tools/PrimaryBootloader2Include.exe

or:

.. code-block:: text

    IncludeDir "myProjectName/bootloaderUpdater/whatever"



bake recognizes that the first part of the path is a valid project name and calculates the relative path to the project automatically.
If you have the special case that the referenced project is contained in an other workspace root, you can use the
`-w` parameter or you define a `roots.bake`.

.. note::

    The path auto adjustment is applied for the following elements:

    * IncludeDir

    * ExternalLibrary

    * ExternalLibrarySearchPath

    * UserLibrary

    * CommandLine

Version data entries

29 entries across 29 versions & 1 rubygems

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