mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
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:
@@ -218,8 +218,8 @@ void CCONV cmAddUtilityCommand(void* arg, const char* utilityName,
|
||||
}
|
||||
|
||||
// Pass the call to the makefile instance.
|
||||
mf->AddUtilityCommand(utilityName, (all ? false : true), nullptr, depends2,
|
||||
commandLines);
|
||||
mf->AddUtilityCommand(utilityName, cmMakefile::TargetOrigin::Project,
|
||||
(all ? false : true), nullptr, depends2, commandLines);
|
||||
}
|
||||
void CCONV cmAddCustomCommand(void* arg, const char* source,
|
||||
const char* command, int numArgs,
|
||||
|
||||
Reference in New Issue
Block a user