Re: [CMake] [Titan-developers] Forcing 'out-of-source' build

2010-11-26 Thread Marcus D. Hanwell
On Fri, Nov 26, 2010 at 3:24 PM, Wylie, Brian wrote: > Hi All, > > I want to force an 'out-of-source' build for a small project that I converted > to use Cmake. > > I did a bit of searching and found variants of the following... > > # Make sure the build is out of source > STRING(COMPARE EQUAL "$

Re: [CMake] [Titan-developers] Forcing 'out-of-source' build

2010-11-26 Thread Dave Partyka
I am not sure if you can prevent it from generating those files but you could remove those files with file(REMOVE ...) in your IF(insource) block. On Fri, Nov 26, 2010 at 3:24 PM, Wylie, Brian wrote: > Hi All, > > I want to force an 'out-of-source' build for a small project that I > converted to