diff options
author | Brad King <brad.king@kitware.com> | 2015-06-08 17:54:05 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-06-08 17:54:05 (GMT) |
commit | f5690cc57c0cd18ee8619332379f523c8fac46a1 (patch) | |
tree | 6b93d19bf93e344ee3a18b6d9941adbc3bd2331f /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | d18852d5961584125ae113fae23f4b55a760e159 (diff) | |
parent | f573bd22e4049746b53789fc0502cff8423dbe56 (diff) | |
download | CMake-f5690cc57c0cd18ee8619332379f523c8fac46a1.zip CMake-f5690cc57c0cd18ee8619332379f523c8fac46a1.tar.gz CMake-f5690cc57c0cd18ee8619332379f523c8fac46a1.tar.bz2 |
Merge topic 'move-Feature-API'
f573bd22 cmLocalGenerator: Add Feature API from cmMakefile.
ccbc2259 cmGeneratorTarget: Move Feature API from cmTarget.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 0ced245..f453da1 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -1025,12 +1025,13 @@ cmGlobalVisualStudio7Generator::IsPartOfDefaultBuild( { return activeConfigs; } + cmGeneratorTarget* gt = this->GetGeneratorTarget(target); // inspect EXCLUDE_FROM_DEFAULT_BUILD[_<CONFIG>] properties for(std::vector<std::string>::const_iterator i = configs.begin(); i != configs.end(); ++i) { const char* propertyValue = - target->GetFeature("EXCLUDE_FROM_DEFAULT_BUILD", i->c_str()); + gt->GetFeature("EXCLUDE_FROM_DEFAULT_BUILD", i->c_str()); if(cmSystemTools::IsOff(propertyValue)) { activeConfigs.insert(*i); |