[CMake] CMake minimum required version

Alexander Neundorf a.neundorf-work at gmx.net
Sun Aug 26 08:31:09 EDT 2012


On Saturday 25 August 2012, Russell Wallace wrote:
> On Sat, Aug 25, 2012 at 7:13 PM, David Cole <david.cole at kitware.com> wrote:
> > Of course, having said that:
> > 
> > If you ever have a source file on disk that you DON'T want to include
> > in your build, then file(GLOB once again bends towards "evil"...
> 
> Are you kidding? A stray src/foo.cc that wasn't in the build would be
> a maintenance nightmare waiting to happen! 

So you are building a library ?
For protecting against also this kind of problems I would recommend writing 
tests, so you see when there is something wrong.

Alex


More information about the CMake mailing list