[CMake] [binary dir] breaks INSTALL(...) if added to
ADD_SUBDIRECTORY(...)
Peter Visser
pervulgo at gmail.com
Sat Oct 21 14:53:28 EDT 2006
It works! I will avoid using the [binary dir] option from now.
Thanks for the reference to "CMake_Useful_Variables". I did search the wiki,
but using an underscore in the search string doesn't work.
Cheers,
Peter.
On 10/21/06, Filipe Sousa <filipe at ipb.pt> wrote:
>
> 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
>
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061021/01c7c3ad/attachment-0001.html
More information about the CMake
mailing list