diff options
author | Justin Goshi <jgoshi@microsoft.com> | 2017-11-10 19:09:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-20 19:29:50 (GMT) |
commit | afd9a339a1d7cbdf9aafff4ee6c454382e923aa9 (patch) | |
tree | c156a14bf0278685731e3dc1b8756a0d027f3689 /Source/cmGlobalVisualStudioGenerator.cxx | |
parent | 4d52b46c7046a23948221d4142d768b9ff834e33 (diff) | |
download | CMake-afd9a339a1d7cbdf9aafff4ee6c454382e923aa9.zip CMake-afd9a339a1d7cbdf9aafff4ee6c454382e923aa9.tar.gz CMake-afd9a339a1d7cbdf9aafff4ee6c454382e923aa9.tar.bz2 |
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.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index 99600df..c89c2c4 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -69,8 +69,8 @@ void cmGlobalVisualStudioGenerator::AddExtraIDETargets() // Use no actual command lines so that the target itself is not // considered always out of date. cmTarget* allBuild = gen[0]->GetMakefile()->AddUtilityCommand( - "ALL_BUILD", true, no_working_dir, no_depends, no_commands, false, - "Build all projects"); + "ALL_BUILD", cmMakefile::TargetOrigin::Generator, true, no_working_dir, + no_depends, no_commands, false, "Build all projects"); cmGeneratorTarget* gt = new cmGeneratorTarget(allBuild, gen[0]); gen[0]->AddGeneratorTarget(gt); |