diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-04-10 13:54:01 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-04-10 13:54:01 (GMT) |
commit | 8b0c61c322f939f2d718e71c5c796df9d58c6cc2 (patch) | |
tree | 97ac5ffb8706d20e87523b667ccf7769c08db381 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 5415b65067ed2eabaa1bb64a50ced230074dab53 (diff) | |
download | CMake-8b0c61c322f939f2d718e71c5c796df9d58c6cc2.zip CMake-8b0c61c322f939f2d718e71c5c796df9d58c6cc2.tar.gz CMake-8b0c61c322f939f2d718e71c5c796df9d58c6cc2.tar.bz2 |
ENH: added internal target property for the name of the project file
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 97bd3b4..ebb2b63 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -110,9 +110,6 @@ void cmLocalVisualStudio7Generator::OutputVCProjFile() // Create the VCProj or set of VCProj's for libraries and executables - // clear project names - this->CreatedProjectNames.clear(); - // Call TraceVSDependencies on all targets cmTargets &tgts = this->Makefile->GetTargets(); for(cmTargets::iterator l = tgts.begin(); @@ -158,7 +155,7 @@ void cmLocalVisualStudio7Generator { // add to the list of projects std::string pname = lname; - this->CreatedProjectNames.push_back(pname); + target.SetProperty("GENERATOR_FILE_NAME",lname); // create the dsp.cmake file std::string fname; fname = this->Makefile->GetStartOutputDirectory(); |