[cmake-developers] [CMake] 2.8.11-rc3 generator expression error
Brad King
brad.king at kitware.com
Thu Apr 25 10:40:14 EDT 2013
On 04/25/2013 03:34 AM, Stephen Kelly wrote:
> I haven't had time to investigate fully, but this patch should 'fix' the
> problem:
[snip]
> I'll investigate later to see if it's the right fix and why.
Great! I've turned that patch into this commit:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=de9d4a63
See commit message for an explanation that makes sense to me.
Since these generator expressions are constructed and evaluated
internally to CMake and never exposed it should be easy to
adjust how this works in the future. Therefore I'm going to
take this as the fix for 2.8.11-rc4 if it is clean on the test
dashboard tonight.
When you have time to investigate in more detail, please
extend this topic with a test case covering
target_link_libraries(B debug A)
where A is a target instead of an external library name.
Amazingly/apparently we do not have this in the test suite yet.
Thanks,
-Brad
More information about the cmake-developers
mailing list