[CMake] [binary dir] breaks INSTALL(...) if added to ADD_SUBDIRECTORY(...)

Filipe Sousa filipe at ipb.pt
Sat Oct 21 14:01:47 EDT 2006


Filipe Sousa wrote:
> Peter Visser wrote:
>> Thanks for the advice, but I cannot find these directives in the
>> documentation (http://www.cmake.org/HTML/Documentation.html).
>> Perhaps I'm looking in the wrong place, where do I need to look for the
>> documentation?

http://www.cmake.org/Wiki/CMake_Useful_Variables

> You're right, this is not documented. But you can use it like this:
> SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
> SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
> 
>> Thanks again,
>>
>> Peter.
>>


-- 
Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20061021/8829c164/signature.pgp


More information about the CMake mailing list