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
exclude_from_all.tar.gz
Description: application/tgz
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake