diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 13:40:26 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-06 13:44:16 (GMT) |
commit | ccbc2259137fe61a770bb0b5538a20bf5e00bc8f (patch) | |
tree | 26a637da257293781f249ac6309133b1fae914d7 /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 50a1bd3df13d47167d55fb1584b2c1bc7235884b (diff) | |
download | CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.zip CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.tar.gz CMake-ccbc2259137fe61a770bb0b5538a20bf5e00bc8f.tar.bz2 |
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 a242046..f2d58ec 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -1023,12 +1023,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); |