-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #181 from xmos/develop
Merge to main for release v1.3.0
- Loading branch information
Showing
6 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ API Reference | |
|
||
./functions | ||
./variables | ||
./options | ||
./dependency_format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.. _cmdline-options: | ||
|
||
Command-line Options | ||
-------------------- | ||
|
||
Extra functionality can be activated using command-line options which are implemented in XCommon | ||
CMake. These are passed to the CMake command via its ``-D`` option, and multiple options can be | ||
provided to a single CMake command if required: | ||
|
||
.. code-block:: console | ||
cmake -G "Unix Makefiles" -B build -D <option0>=<value0> -D <option1>=<value1> | ||
Supported options | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
``BUILD_NATIVE`` | ||
Boolean option to configure the build for the native host CPU rather than an xcore target. See | ||
:ref:`native-builds` for more details about this feature. Example: | ||
|
||
.. code-block:: console | ||
cmake -G "Unix Makefiles" -B build -D BUILD_NATIVE=ON | ||
``DEPS_CLONE_SHALLOW`` | ||
Boolean option to perform a shallow clone of all missing dependencies. The git repository for | ||
each dependency will be cloned as a single commit, rather than the complete history. This can | ||
reduce the disk usage, but if the full git history is later required, it will need to be | ||
fetched manually. Example: | ||
|
||
.. code-block:: console | ||
cmake -G "Unix Makefiles" -B build -D DEPS_CLONE_SHALLOW=TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters