Re: [CMake] debug/optimized include directories

2011-11-06 Thread Michael Wild
On 11/05/2011 09:59 PM, Michael Hertling wrote: > On 11/02/2011 05:36 PM, Michael Wild wrote: >> Thanks ;-) >> >> Michael > > Just an additional remark: Instead of generating the proxy headers > in CMakeLists.txt, i.e. at configuration time, one might also have > them generated by a custom command

Re: [CMake] debug/optimized include directories

2011-11-06 Thread Alexander Neundorf
On Friday 04 November 2011, David Cole wrote: > On Fri, Nov 4, 2011 at 12:23 PM, Alexander Neundorf > wrote: ... > > Looks like the first step to assigning include directories to libraries, > > so they are used automatically when linking against them. > > Is this also already in planning ? > > >

Re: [CMake] ADD_SUBDIRECTORY() with a higher level directory

2011-11-06 Thread Daniel Dekkers
Every project's code base should be organized in the way that suits the needs best, whatever the needs may be. ;-) E.g., my personal liking for the general directory hierarchy of a project xyz - library or not - is xyz xyz examples utilities ... i.e., the project's main part is organized

Re: [CMake] ADD_SUBDIRECTORY() with a higher level directory

2011-11-06 Thread Dan Kegel
On Sun, Nov 6, 2011 at 7:27 AM, Daniel Dekkers wrote: > This "template" stuff should really be in the documentation, it would have > helped me a lot. > More than http://www.cmake.org/cmake/help/examples.html. A library called > "Hello", really? FWIW, I'm gathering more examples at http://code.goo

Re: [CMake] CMake download page seems missing

2011-11-06 Thread Daniel smith
I'm also having the same issue, Tried multipul browsers, I've even asked other people to try and their Also having the same issue. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check

Re: [CMake] CMake download page seems missing

2011-11-06 Thread Eric Noulard
2011/11/6 Daniel smith : > I'm also having the same issue, > Tried multipul browsers, I've even asked other people to try and their Also > having the same issue. I think it's a server-side issue. Bug tracker has shown some weird error (seems disk space related) yesterday too. May be Kitware sys a

Re: [CMake] CMake download page seems missing

2011-11-06 Thread Dan Kegel
On Sun, Nov 6, 2011 at 9:34 AM, Eric Noulard wrote: > Bug tracker has shown some weird error (seems disk space related) yesterday > too. When I posted yesterday, I got an out-of-disk-space error from the mailing list at kitware, so yeah, they seem to be having problems. -- Powered by www.kitwar

[CMake] transitive link flags

2011-11-06 Thread Luke Dalessandro
Hi everyone, I have a static library target that has some sources that rely on link-time symbol interposition. Is there an existing way to set transitive link flags of the "-Wl,--wrap,symbol" variety on the library target so that executables that depend on the library are automatically linked

Re: [CMake] ADD_SUBDIRECTORY() with a higher level directory

2011-11-06 Thread J Decker
> > Of course, the CMakeLists.txt in examples (or example0 and example1) depends > on the actual library, so, from that level, we would like to call > ADD_SUBDIRECTORY() to the *higher level* library directory... which is > unacceptable for ADD_SUBDIRECTORY() (and probably conflicts with the whole

Re: [CMake] transitive link flags

2011-11-06 Thread Luke Dalessandro
On Nov 6, 2011, at 2:12 PM, Łukasz Tasz wrote: > hi > > (target_link_libraries yourlib -Wl,--wrap,symbol) is not dooing the job? I am trying to do it on the (add_library foo ...) side, since that's the context that knows what symbols to link. Doing it on the (target_link_libraries) side requi

Re: [CMake] transitive link flags

2011-11-06 Thread Luke Dalessandro
On Nov 6, 2011, at 4:26 PM, Łukasz Tasz wrote: >> As it is, I've written my own macro for linking with this particular >> library, essentially a custom target_link_libraries command: >> target_link_foo, that contains the right flags. This is basically >> unsatisfactory though, since I need to

Re: [CMake] transitive link flags

2011-11-06 Thread Michael Hertling
On 11/06/2011 07:04 PM, Luke Dalessandro wrote: > Hi everyone, > > I have a static library target that has some sources that rely on link-time > symbol interposition. > > Is there an existing way to set transitive link flags of the > "-Wl,--wrap,symbol" variety on the library target so that exe

Re: [CMake] ADD_SUBDIRECTORY() with a higher level directory

2011-11-06 Thread Michael Hertling
On 11/06/2011 07:49 PM, J Decker wrote: >> >> Of course, the CMakeLists.txt in examples (or example0 and example1) depends >> on the actual library, so, from that level, we would like to call >> ADD_SUBDIRECTORY() to the *higher level* library directory... which is >> unacceptable for ADD_SUBDIRECT

Re: [CMake] ADD_SUBDIRECTORY() with a higher level directory

2011-11-06 Thread J Decker
On Sun, Nov 6, 2011 at 5:23 PM, Michael Hertling wrote: > On 11/06/2011 07:49 PM, J Decker wrote: >>> >>> Of course, the CMakeLists.txt in examples (or example0 and example1) depends >>> on the actual library, so, from that level, we would like to call >>> ADD_SUBDIRECTORY() to the *higher level*

Re: [CMake] ADD_SUBDIRECTORY() with a higher level directory

2011-11-06 Thread Michael Hertling
On 11/06/2011 04:47 PM, Dan Kegel wrote: > On Sun, Nov 6, 2011 at 7:27 AM, Daniel Dekkers wrote: >> This "template" stuff should really be in the documentation, it would have >> helped me a lot. >> More than http://www.cmake.org/cmake/help/examples.html. A library called >> "Hello", really? > > F

Re: [CMake] ADD_SUBDIRECTORY() with a higher level directory

2011-11-06 Thread Michael Hertling
On 11/07/2011 04:55 AM, J Decker wrote: > On Sun, Nov 6, 2011 at 5:23 PM, Michael Hertling wrote: >> On 11/06/2011 07:49 PM, J Decker wrote: Of course, the CMakeLists.txt in examples (or example0 and example1) depends on the actual library, so, from that level, we would like t