Re: [CMake] set directory for object file generation

2009-12-04 Thread Voisard, Shane S CIV NSWCDD, K54
>> I only can reproduce this behavior if I have sources which are NOT under the >> top-level >> source directory, i.e. something like this: >> Am I assuming correctly that that's what you're doing? In that case you >> could do >> something like this: Yes, that is exactly what we've been doi

Re: [CMake] set directory for object file generation

2009-12-04 Thread Michael Wild
On 3. Dec, 2009, at 22:08 , Voisard, Shane S CIV NSWCDD, K54 wrote: Is there a way to set the directory that cmake (2.8) uses for object file generation? I haven't found an online resource for this. There is a difference when we build the same project on a Windows vs. Linux platform. On

Re: [CMake] set directory for object file generation

2009-12-03 Thread Tyler Roscoe
On Thu, Dec 03, 2009 at 03:08:02PM -0600, Voisard, Shane S CIV NSWCDD, K54 wrote: > Is there a way to set the directory that cmake (2.8) uses for object > file generation? I haven't found an online resource for this. I don't know of a way. > The problem is that the resulting directory on the Li

[CMake] set directory for object file generation

2009-12-03 Thread Voisard, Shane S CIV NSWCDD, K54
Is there a way to set the directory that cmake (2.8) uses for object file generation? I haven't found an online resource for this. There is a difference when we build the same project on a Windows vs. Linux platform. On WIN32, cmake creates '/.dir/ directory for object files. On UNIX, c