[cmake-developers] put outputs in different directory

2012-06-29 Thread Joshua Robinson
Hi, I am new to cmake, 1 week. I use Linux, vtk and qt. I want the output file moc_* to go to Moc, and the object file to Obj . The executable is being put to Bin/ that works. I tried : set(OBJECT_OUTPUTS ${myProj_SOURCE_DIR}/Obj) it didn't work. Please help / ideas ? Regards, Joshua --

Re: [cmake-developers] put outputs in different directory

2012-06-29 Thread Rolf Eike Beer
Joshua Robinson wrote: Hi, I am new to cmake, 1 week. I use Linux, vtk and qt. I want the output file moc_* to go to Moc, and the object file to Obj . The executable is being put to Bin/ that works. I tried : set(OBJECT_OUTPUTS ${myProj_SOURCE_DIR}/Obj) it didn't work. Please