Sha256: b069fc5faa6df025d3e2c24d83c7b4e41e065fe5ea20a7e221812e1d06b6fe25

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

Version Path
bake-toolkit-2.20.4 documentation/_build/html/_sources/syntax/auto_adjustment.txt
bake-toolkit-2.20.3 documentation/_build/html/_sources/syntax/auto_adjustment.txt
bake-toolkit-2.20.2 documentation/_build/html/_sources/syntax/auto_adjustment.txt
bake-toolkit-2.20.1 documentation/_build/html/_sources/syntax/auto_adjustment.txt