mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
building.md: add information to rebuild only one scripting module in doc
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
parent
86a3be4517
commit
22ad93956c
@ -29,3 +29,14 @@ Building debug build:
|
|||||||
Using clang instead of gcc:
|
Using clang instead of gcc:
|
||||||
-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang
|
-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang
|
||||||
|
|
||||||
|
Often developers are only interested in building one module or even just the
|
||||||
|
python/node module to do some quick testing using scripting. In order to do
|
||||||
|
this you need to use the target name for the python or node module you want to
|
||||||
|
rebuild. For example the lcd module target name is i2clcd. Therfore the python
|
||||||
|
module target name will be prefixed by _pyupm_. Just do the following to build
|
||||||
|
only that module. Modules not using the UPM cmake macros may have different
|
||||||
|
naming.
|
||||||
|
|
||||||
|
~~~~~~~~~~~~~
|
||||||
|
make _pyupm_i2clcd
|
||||||
|
~~~~~~~~~~~~~
|
||||||
|
Loading…
x
Reference in New Issue
Block a user