diff options
author | Brad King <brad.king@kitware.com> | 2017-10-25 13:35:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-26 18:09:38 (GMT) |
commit | 2d0b3e6ed2e6b21bf24050c023215126aa131a60 (patch) | |
tree | fd30cde5dae5506d543305d32abcda6e701969cc /CONTRIBUTING.rst | |
parent | 8b100985984e81a5636494bad0faa9630450ac73 (diff) | |
download | CMake-2d0b3e6ed2e6b21bf24050c023215126aa131a60.zip CMake-2d0b3e6ed2e6b21bf24050c023215126aa131a60.tar.gz CMake-2d0b3e6ed2e6b21bf24050c023215126aa131a60.tar.bz2 |
cmGlobalGenerator: Refactor test and package target conditions
In `AddGlobalTarget_{Test,Package,PackageSource}`, check conditions up
front and return early if the targets are not needed. This reduces the
indentation of the main logic.
Diffstat (limited to 'CONTRIBUTING.rst')
0 files changed, 0 insertions, 0 deletions