|
@@ -29,3 +29,14 @@ Building debug build:
|
29
|
29
|
Using clang instead of gcc:
|
30
|
30
|
-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang
|
31
|
31
|
|
|
32
|
+Often developers are only interested in building one module or even just the
|
|
33
|
+python/node module to do some quick testing using scripting. In order to do
|
|
34
|
+this you need to use the target name for the python or node module you want to
|
|
35
|
+rebuild. For example the lcd module target name is i2clcd. Therfore the python
|
|
36
|
+module target name will be prefixed by _pyupm_. Just do the following to build
|
|
37
|
+only that module. Modules not using the UPM cmake macros may have different
|
|
38
|
+naming.
|
|
39
|
+
|
|
40
|
+~~~~~~~~~~~~~
|
|
41
|
+make _pyupm_i2clcd
|
|
42
|
+~~~~~~~~~~~~~
|