Re: [CMake] problem with ADD_SUBDIRECTORY always inheriting all settings

2011-02-02 Thread Maarten Nieber
Thanks John, I've tried your suggestion and it works, so topic closed. Best regards, Maarten From: John Drescher To: Maarten Nieber ; CMake mailing list Sent: Tue, February 1, 2011 11:43:44 PM Subject: Re: [CMake] problem with ADD_SUBDIRECTORY a

Re: [CMake] problem with ADD_SUBDIRECTORY always inheriting all settings

2011-02-01 Thread Eric Noulard
2011/2/1 Maarten Nieber : > Hi everybody, > I´m mailing to find out what the community thinks of my feature request > (http://public.kitware.com/Bug/view.php?id=5974), which was unfortunately > rejected, and maybe come up with a better idea that serves the same goal. > However, first I want to say

Re: [CMake] problem with ADD_SUBDIRECTORY always inheriting all settings

2011-02-01 Thread John Drescher
On Tue, Feb 1, 2011 at 5:36 PM, Maarten Nieber wrote: > Hi John, > thanks, but that only works one level deep, right? If you have a structure A > -> B -> C, then C will always inherit all of A, regardless of where in B's > CMakeList you put the ADD_SUBDIRECTORY. No it depends where you put add_su

Re: [CMake] problem with ADD_SUBDIRECTORY always inheriting all settings

2011-02-01 Thread John Drescher
On Tue, Feb 1, 2011 at 5:12 PM, Maarten Nieber wrote: > Hi everybody, > I´m mailing to find out what the community thinks of my feature request > (http://public.kitware.com/Bug/view.php?id=5974), which was unfortunately > rejected, and maybe come up with a better idea that serves the same goal. >

[CMake] problem with ADD_SUBDIRECTORY always inheriting all settings

2011-02-01 Thread Maarten Nieber
Hi everybody, I´m mailing to find out what the community thinks of my feature request (http://public.kitware.com/Bug/view.php?id=5974), which was unfortunately rejected, and maybe come up with a better idea that serves the same goal. However, first I want to say that I appreciate the effort that