[CMake] namespace support
Peter Kümmel
syntheticpp at gmx.net
Wed Feb 2 10:21:11 EST 2011
On 02.02.2011 16:17, Michael Wild wrote:
>> namespace(a)
>> include_directories(a)
>> add_library(a MODULE a/a.cpp)
>> endnamespace()
>>
> Put a CMakeLists.txt file in a/ and b/ and do the include_directories()
Exactly this is what I don't wanna do and why I've asked ;)
Seems it becomes a feature request.
Peter
> and add_library() calls in there. That's the only way to have separate
> include directories since there is no corresponding target property
> (which admittedly would be nice to have).
>
> Michael
More information about the CMake
mailing list