From 22ad93956c97a9a9c8129c310bfd08be1f445958 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Mon, 14 Jul 2014 10:49:17 +0100 Subject: [PATCH] building.md: add information to rebuild only one scripting module in doc Signed-off-by: Brendan Le Foll --- docs/building.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/building.md b/docs/building.md index aa97875..2db8540 100644 --- a/docs/building.md +++ b/docs/building.md @@ -29,3 +29,14 @@ Building debug build: Using clang instead of gcc: -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 +~~~~~~~~~~~~~ -- 2.7.4