diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-24 22:49:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-27 06:44:22 (GMT) |
commit | 593f347b5385a510e641eca0448f7ddf64c1c12b (patch) | |
tree | 43e096f0135d0f3263ea397d7bb18e718290d7d6 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 7b127c62d4d4c94cf96e9d406859dbd24eed7dc9 (diff) | |
download | CMake-593f347b5385a510e641eca0448f7ddf64c1c12b.zip CMake-593f347b5385a510e641eca0448f7ddf64c1c12b.tar.gz CMake-593f347b5385a510e641eca0448f7ddf64c1c12b.tar.bz2 |
VS7: Port some implementation details to cmGeneratorTarget
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 95a299d..0eac203 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -783,10 +783,10 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, intermediateDir += "/"; intermediateDir += configName; - if (target->Target->GetType() < cmState::UTILITY) + if (target->GetType() < cmState::UTILITY) { std::string const& outDir = - target->Target->GetType() == cmState::OBJECT_LIBRARY? + target->GetType() == cmState::OBJECT_LIBRARY? intermediateDir : target->GetDirectory(configName); fout << "\t\t\tOutputDirectory=\"" << this->ConvertToXMLOutputPathSingle(outDir.c_str()) << "\"\n"; @@ -837,7 +837,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, if(this->FortranProject) { const char* target_mod_dir = - target->Target->GetProperty("Fortran_MODULE_DIRECTORY"); + target->GetProperty("Fortran_MODULE_DIRECTORY"); std::string modDir; if(target_mod_dir) { @@ -877,7 +877,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, targetOptions.OutputFlagMap(fout, "\t\t\t\t"); targetOptions.OutputPreprocessorDefinitions(fout, "\t\t\t\t", "\n", "CXX"); fout << "\t\t\t\tObjectFile=\"$(IntDir)\\\"\n"; - if(target->Target->GetType() <= cmState::OBJECT_LIBRARY) + if(target->GetType() <= cmState::OBJECT_LIBRARY) { // Specify the compiler program database file if configured. std::string pdb = target->GetCompilePDBPath(configName); |