James Bigler schrieb:
Hi,
The problem with using SUBDIR is that variables will get scoped to the
subdirectory and not automatically available in the parent. [...]
Fully ack.
The method I use heralds from CMake 1.8. You simply include the
CMakeLists.txt files directly, [...]
I haven't recognized that yet. That seams to be a good solution for my
problem but of course I have tried your second suggestion ....
The other option is to get the value using GET_DIRECTORY_PROPERTY [...]
... and I like it very much ;) That's a cool command and fully new to
me. But I also think that it is dangerous to break the hierarchic
structure of cmake - so I would say one should use it with attention.
Thanks very much!
Michael
--
----------------------------------------------------------------------
__
Dipl.-Ing. (MSc) Michael Hammer (Scientific Assistant) __ _| |_
Institute for Strength of Materials / | || |
Graz University of Technology |_ _||__|
phone: +43 (0) 316 873 / 7667 |__|
fax: +43 (0) 316 873 / 7169
http://www.fest.TUGraz.at/ [EMAIL PROTECTED]
----------------------------------------------------------------------
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake