summaryrefslogtreecommitdiffstats
path: root/Source/cmMSDotNETGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-30 19:33:05 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-30 19:33:05 (GMT)
commit8a144d0c402cf9c76c69398425b61a3e55cf3cbf (patch)
treea4b8f579417884dcfe62c9e59cbb6ffcc598a923 /Source/cmMSDotNETGenerator.cxx
parent6cc58e5f9b88ed071be75f5e6eccaaa8063056f1 (diff)
downloadCMake-8a144d0c402cf9c76c69398425b61a3e55cf3cbf.zip
CMake-8a144d0c402cf9c76c69398425b61a3e55cf3cbf.tar.gz
CMake-8a144d0c402cf9c76c69398425b61a3e55cf3cbf.tar.bz2
ENH: fix relwithdebinfo
Diffstat (limited to 'Source/cmMSDotNETGenerator.cxx')
-rw-r--r--Source/cmMSDotNETGenerator.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmMSDotNETGenerator.cxx b/Source/cmMSDotNETGenerator.cxx
index 29bfb7a..58ee5fd 100644
--- a/Source/cmMSDotNETGenerator.cxx
+++ b/Source/cmMSDotNETGenerator.cxx
@@ -836,7 +836,8 @@ void cmMSDotNETGenerator::OutputBuildTool(std::ostream& fout,
this->OutputModuleDefinitionFile(fout, target);
fout << "\t\t\t\tProgramDatabaseFile=\"" << m_LibraryOutputPath
<< "$(OutDir)\\" << libName << ".pdb\"\n";
- if(strcmp(configName, "Debug") == 0)
+ if(strcmp(configName, "Debug") == 0
+ || strcmp(configName, "RelWithDebInfo") == 0)
{
fout << "\t\t\t\tGenerateDebugInformation=\"TRUE\"\n";
}
@@ -864,7 +865,8 @@ void cmMSDotNETGenerator::OutputBuildTool(std::ostream& fout,
fout << "\"\n";
fout << "\t\t\t\tProgramDatabaseFile=\"" << m_LibraryOutputPath
<< "$(OutDir)\\" << libName << ".pdb\"\n";
- if(strcmp(configName, "Debug") == 0)
+ if(strcmp(configName, "Debug") == 0
+ || strcmp(configName, "RelWithDebInfo") == 0)
{
fout << "\t\t\t\tGenerateDebugInformation=\"TRUE\"\n";
}