[CMake] Retrieve all directories?
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Jan 15 16:40:38 EST 2007
Von: "David Cole" <david.cole at kitware.com>
...
> It exploits the fact that a directory will still pass the existence test
> if you append a "/" to its filename, whereas a file will not...
>
> I won't guarantee that this will always work with all cmakes on all
> platforms, but you may find that it is a useful trick...
I don't know exactly since which version, but current cmake also features IF(IS_DIRECTORY ...)
Bye
Alex
--
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail
More information about the CMake
mailing list