diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-12-11 17:09:52 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-12-11 17:09:52 (GMT) |
commit | 682e2c7b8b614b595dcff32ffe24d67a5e26ff54 (patch) | |
tree | cc2ce29a23a8d8ba81a25a02a4a8686578b70c9e /Source/cmLocalVisualStudio7Generator.cxx | |
parent | d6f98c2a82c693f9f96bd7c515fa4946a375f3ca (diff) | |
download | CMake-682e2c7b8b614b595dcff32ffe24d67a5e26ff54.zip CMake-682e2c7b8b614b595dcff32ffe24d67a5e26ff54.tar.gz CMake-682e2c7b8b614b595dcff32ffe24d67a5e26ff54.tar.bz2 |
Add check so that java projects build without C++
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index b9aad0e..668c9d6 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -329,7 +329,10 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, } fout << "\t\t\t\tAssemblerListingLocation=\"" << configName << "\"\n"; fout << "\t\t\t\tObjectFile=\"" << configName << "\\\"\n"; - fout << "\t\t\t\tWarningLevel=\"" << m_Makefile->GetDefinition("CMAKE_CXX_WARNING_LEVEL") << "\"\n"; + if ( m_Makefile->GetDefinition("CMAKE_CXX_WARNING_LEVEL") ) + { + fout << "\t\t\t\tWarningLevel=\"" << m_Makefile->GetDefinition("CMAKE_CXX_WARNING_LEVEL") << "\"\n"; + } fout << "\t\t\t\tDetect64BitPortabilityProblems=\"TRUE\"\n" << "\t\t\t\tDebugInformationFormat=\"3\""; fout << "/>\n"; // end of <Tool Name=VCCLCompilerTool |