[cmake-developers] put outputs in different directory

Rolf Eike Beer eike at sf-mail.de
Fri Jun 29 12:00:27 EDT 2012


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 help / ideas ?

Why do you care for this at all? Usually you use a build directory that is 
independent of the sources tree, so you really don't need to care about what 
is up in the build dir and how the files there are lying around.

And this is really a question for the users list, no?

Eike
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120629/9b1279ac/attachment.sig>


More information about the cmake-developers mailing list