server: return whether or not a target is generator provided

Some generators auto-generate targets. For example VS generators create
the ALL_BUILD target. Add the ability to mark targets as generator
provided and return that info through cmake-server codemodel.
This commit is contained in:
Justin Goshi
2017-11-10 11:09:24 -08:00
committed by Brad King
parent 4d52b46c70
commit afd9a339a1
13 changed files with 55 additions and 33 deletions

View File

@@ -486,6 +486,8 @@ Each target object can have the following keys:
contains the current source directory.
"buildDirectory"
contains the current build directory.
"isGeneratorProvided"
true if the target is auto-created by a generator, false otherwise
"hasInstallRule"
true if the target contains any install rules, false otherwise.
"installPaths"