On 21/12/2015 18:05, KI7MT wrote:
> I did notice, with the exception of targets residing in sub-folders (
> manpages, docs, etc ), Cmake will build the entire project if try to
> install just a single target. With the sub-folder targets, you can use
> the Makefile that is generated to perform an install if desired.
Hi Greg,
your observation is incorrect, only required prerequisites are built for
a specified target. For example try the following sequence:
$ make clean
$ make jt65sim
$ make wsjtx
You should see that a lot less is done to build jt65sim, the make of
wsjtx has to make a whole bunch more stuff to complete.
Also try this afterwards:
$ touch <src-tree>/main.cpp
$ make jt65sim
$ touch <src-tree>/lib/jt65sim.f90
$ make jt65sim
$ make wsjtx
Note that touching a wsjtx source file does not trigger a jt65sim build,
only when the wsjtx target is built does that cause anything to build.
Also note how fast the builds are when a single prerequisite source file
is updated.
Yes the sub directory generated makefiles are usable to make partial
installs when they specify install steps.
73
Bill
G4WJS.
------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel