[CMake] How to "exclude" dependencies
Filipe Sousa
natros at gmail.com
Tue Mar 20 13:38:58 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
dieter oberkofler wrote:
> I have finally migrated a rather large project to CMake and really like it
> but still have a few open issues, that I hope to solve with your help.
>
> Here comes the first ones:
>
> 1) Is there a way to limit the dependencies that CMake builds by for example
> excluding directories and limit the level of recursion?
If you want to exclude a directory from all target use
ADD_SUBDIRECTORY(source_dir [binary_dir]
[EXCLUDE_FROM_ALL])
you can run make target_name/fast that will skip some dependencies (i'm
no sure on this one)
> 2) I had to make a small (non intrusive) change to the CMake source code
> introducing a new "rule expansion variable" (SOURCE_BASE) needed in order to
> have the compiler generating an error file for each compiled file.
> SOURCE_BASE is just SOURCE without extension. What would I need to do in
> order to have this addition moved into the main trunk of CMake?
>
> Best regards
> Dieter Oberkofler
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGACpCbQdNYqwwwCwRAo6cAKC60R2lYNrghDTQITUGa31zZEGmlACZAUpj
08kz69Fts0/r//b6lSKanlE=
=HVMy
-----END PGP SIGNATURE-----
More information about the CMake
mailing list