mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
ENH: make sure ALL_BUILD only shows up once
This commit is contained in:
parent
847c8403fe
commit
852f6018bb
@ -336,9 +336,11 @@ void cmGlobalVisualStudio7Generator::WriteTargetsToSolution(
|
|||||||
{
|
{
|
||||||
bool skip = false;
|
bool skip = false;
|
||||||
// if it is a global target or the check build system target
|
// if it is a global target or the check build system target
|
||||||
|
// or the all_build target
|
||||||
// then only use the one that is for the root
|
// then only use the one that is for the root
|
||||||
if(target->GetType() == cmTarget::GLOBAL_TARGET
|
if(target->GetType() == cmTarget::GLOBAL_TARGET
|
||||||
|| !strcmp(target->GetName(), CMAKE_CHECK_BUILD_SYSTEM_TARGET))
|
|| !strcmp(target->GetName(), CMAKE_CHECK_BUILD_SYSTEM_TARGET)
|
||||||
|
|| !strcmp(target->GetName(), this->GetAllTargetName()))
|
||||||
{
|
{
|
||||||
if(target->GetMakefile() != root->GetMakefile())
|
if(target->GetMakefile() != root->GetMakefile())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user