Hi Bill, Sorry, I wasn't very clear here.
Building a single target is OK (short a quick). When trying to "install" the single target after building it, that is when the full build seems to be triggered, apart from the docs, manpages etc. 73's Greg, KI7MT On 12/21/2015 11:24 AM, Bill Somerville wrote: > 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 > -- ---------------------------------------------------------------- Launchpad....: https://launchpad.net/~ki7mt Ubuntu Hams..: https://launchpad.net/~ubuntu-hams-devel Debian Hams..: https://alioth.debian.org/projects/pkg-hamradio/ JTSDK........: https://sourceforge.net/projects/jtsdk/ OpenPGP......: C177 6630 7115 78FE 9A2B 9F7F 18C0 F6B7 0DA2 F991 ------------------------------------------------------------------------------ _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
