Re: [CMake] add_subdirectory inheritance (patch)

2012-04-19 Thread irukandji
Change it to whatever you want :) Search and replace is for me much easyer then to workaround the inheritance :) regards, irukandji On 2012-04-19 14:56, David Cole wrote: If that's the case then "NOINHERIT" is not the correct name for this. (Because that, to me, primaril

Re: [CMake] add_subdirectory inheritance (patch)

2012-04-19 Thread irukandji
should work, there is always a possibility i have missed something i am not aware of) Regards, irukandji On 2012-04-19 12:10, David Cole wrote: So, wait. This intends to avoid inheritance of preprocessor, compiler and linker stuff, but it still allows inheritance of all other directory properties

Re: [CMake] add_subdirectory inheritance (patch)

2012-04-19 Thread irukandji
. Regards, irukandji On 2012-04-18 21:07, irukandji wrote: I appreciate the idea but my view is that if the solution (whatever dev. solution) is not elegant there is something wrong with it. While testing the posibilities, i had it, i have implemented the optional dont_inherit flag to

Re: [CMake] add_subdirectory inheritance

2012-04-18 Thread irukandji
mit a patch, i hope it will be accepted as it is completely unintrusive, backward compatible, buzzwords>,... Regards, irukandji On 2012-04-18 18:18, Kent Williams wrote: I think I understand what you're trying to do better now. It's a bit off the beaten path for CMake, and has more

Re: [CMake] add_subdirectory inheritance

2012-04-17 Thread irukandji
rve as a hook in case of changing whatever settings for the libraries (from renaming them, to changing directory tree, changing compiler flags etc) This is what i would like to achieve. But if you look at >> hellocmake <<, the stdio cmakelists will inherit the include path from gfx li

Re: [CMake] add_subdirectory inheritance

2012-04-17 Thread irukandji
is is not a problem. I cant tell you the details (the lawyers stuff) but believe me it is as sane as it can be in regards of doing insane things :) I'll check your suggestions tomorrow, thank you. Regards, irukandji On 2012-04-17 20:54, Kent Williams wrote: I think then that you shoul

[CMake] add_subdirectory inheritance

2012-04-17 Thread irukandji
bdirectory function to NOT propagate the settings. Regards, Irukandji On 2012-04-17 17:58, Kent Williams wrote: Frankly, I don't entirely understand what the problem is, or what your proposed solution is. What is it that you don't want the subdirectory context to inherit? On Tue, Apr

[CMake] add_subdirectory inheritance

2012-04-17 Thread irukandji
Hi, (as no one answered to my previous email, let me add this: multiplatform project with few million lines of code, sheer size of the project is not allowing to turn around whole directory tree as price / performance is a very relevant factor and even rewriting makefiles/vcprojs to cmake will

[CMake] Multiple dependencies to library which needs to be built with different flags

2012-04-13 Thread irukandji
this is really a LAST, LST resort as the differences between the different libProblematic configurations are minimal and making mutiple files out of it will diverge to out of sync condition... Thank you for at least reading it, everything else is eternal gratitude :) Irukandji p.s.: btw