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

2006-10-21 Thread Peter Visser
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 <[EMAIL PROTECTED]> wrote: Filipe Sousa wrote:> Peter Visser w

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

2006-10-21 Thread Filipe Sousa
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/CMak

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

2006-10-21 Thread Filipe Sousa
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? You're right, this is not documented. But you can use it

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

2006-10-21 Thread Peter Visser
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? Thanks again, Peter.On 10/21/06, Filipe Sousa <[EMAIL PROTECTED]> wrote: Peter Visser

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

2006-10-21 Thread Peter Visser
The default build directory works fine, however I would like to group some components:ADD_SUBDIRECTORY (Example1 foo)ADD_SUBDIRECTORY (Example2 foo)ADD_SUBDIRECTORY (Example3 bar)ADD_SUBDIRECTORY (Example4 bar) In my case I can omit the foo and bar since I don't have conflicting names in the execut

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

2006-10-21 Thread Filipe Sousa
Peter Visser wrote: > Hello, > > The following example works fine: > > > In the top CMakeLists.txt > ADD_SUBDIRECTORY (Example1) > ADD_SUBDIRECTORY (Example2) > > In the subdirectories Example1/Example2 > INSTALL(TARGETS Example1/Example2 > RUNTIME DESTINATION bin >

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

2006-10-21 Thread Alan W. Irwin
On 2006-10-21 12:39+0200 Peter Visser wrote: Hello, The following example works fine: In the top CMakeLists.txt ADD_SUBDIRECTORY (Example1) ADD_SUBDIRECTORY (Example2) In the subdirectories Example1/Example2 INSTALL(TARGETS Example1/Example2 RUNTIME DESTINATION bin LI

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

2006-10-21 Thread Peter Visser
Hello,The following example works fine:In the top CMakeLists.txt ADD_SUBDIRECTORY (Example1) ADD_SUBDIRECTORY (Example2) In the subdirectories Example1/Example2INSTALL(TARGETS Example1/Example2     RUNTIME DESTINATION bin     LIBRARY DESTINATION lib     ARCHIVE DESTINA