Don't add the same targets multiple times for nested CMake projects

Authored by mwolff on Nov 19 2017, 10:21 PM.

Description

Don't add the same targets multiple times for nested CMake projects

When we import a cmake project folder and that contains nested
CMake projects, we ended up showing the same target multiple times,
since the CMake server output will reference the same targets for
the parent project and then again for the nested project(s).

Ensure the targets are only added once to fix this issue.

BUG: 387095

Details

Committed
mwolffNov 19 2017, 10:21 PM
Parents
R32:448a640b4516: Fix assert, line index 0 is a valid one
Branches
Unknown
Tags
Unknown