diff options
author | Brad King <brad.king@kitware.com> | 2014-06-30 15:41:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-07 12:52:41 (GMT) |
commit | b5b098ebb39c97f3420eb7c24f0d4d5bc2d15a5a (patch) | |
tree | bdacd2be54e6f445847691e85e5768d240605091 /Tests | |
parent | 5e07dcf7c8e884380e1ad5ab64ba3bcdef601eee (diff) | |
download | CMake-b5b098ebb39c97f3420eb7c24f0d4d5bc2d15a5a.zip CMake-b5b098ebb39c97f3420eb7c24f0d4d5bc2d15a5a.tar.gz CMake-b5b098ebb39c97f3420eb7c24f0d4d5bc2d15a5a.tar.bz2 |
cmTarget: Simplify CMP0027 logic in processIncludeDirectories
Evaluate and lookup the target name only once per TargetPropertyEntry
instead of repeating it for each include directory entry. Use a local
checkCMP0027 variable to record whether the policy should be checked.
Evaluate the target name as a generator expression only if it looks like
one. Lookup the target by name only after evaluation of generator
expressions.
Diffstat (limited to 'Tests')
0 files changed, 0 insertions, 0 deletions