[CMake] Bugs in cmake-2.4.6, please solve for 2.4.7

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jul 11 10:24:18 EDT 2007


On Monday 09 July 2007 16:03, Hendrik Sattler wrote:
> Am Montag 09 Juli 2007 21:39 schrieb Alexander Neundorf:
> > On Monday 09 July 2007 15:22, Hendrik Sattler wrote:
> > > Am Montag 09 Juli 2007 14:59 schrieb Hendrik Sattler:
...
> > > > 3. install( TARGET foo ..... OPTIONAL ) always builds foo on "make
> > > > install" although foo is marked as EXCLUDE_FROM_ALL and OPTIONAL
> > > > should not care if it wasn't already built. Work-around for
> > > > executables is to use
> > > > install( PROGRAMS ${foo_EXECUTABLE} ..... OPTIONAL ) instead but that
> > > > doesn't work for libraries (hint: rpath)
> > >
> > > This got even stranger by now, introducing yet another bug:
> > >   running only "make install" without a prior "make" fails to build a
> > > static library target dependency.
>
> Point 3 is actually my main concern.

I can't reproduce a problem. Please try the attached testcase and tell me how 
to reproduce your problem.

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exclude_from_all.tar.gz
Type: application/x-tgz
Size: 332 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20070711/5062d899/exclude_from_all.tar.bin


More information about the CMake mailing list