[CMake] CMake 2.2 dependency check skip

Filipe Sousa filipe at ipb.pt
Wed Oct 19 07:25:54 EDT 2005


On Wednesday 19 October 2005 07:35, Alexander Neundorf wrote:
> > Von: Filipe Sousa <filipe at ipb.pt>
> >
> > I don't know if this works or not, but try setting
> > SET(CMAKE_SKIP_RULE_DEPENDENCY 1)
>
> No, AFAIK this has the effect that the files are not rebuilt if there
> CMakeLists.txt changed (e.g. if other options where inserted), but only
> if there "real" dependencies changed.
>
> "make -f CMakeFiles/Makefile2" doesn't really work, it can be used to
> build the whole source tree, and it needs the target which it should
> build. I'd like also to be able to call something like "make fast" (or
> "make nodep") from somewhere in my source tree and have it just build
> without checking the dependencies again.
>
> If I want to do it manually and my sources  live under /usr/src/myproj/,
> and I only want to build /usr/src/myproj/src/app/, I would have to enter:
>
> alex at linux:/usr/src/myproj/src/app/ $ cd /usr/src/myproj/ && make -f
> src/foo/app/CMakeFiles/app.dir/build.make
> src/foo/app/CMakeFiles/app.dir/build

isn't this the same as cd /usr/src/myproj/src/app/ && make ?

> Bye
> Alex


--
Filipe Sousa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20051019/a045ea21/attachment.pgp


More information about the CMake mailing list