BUG: fix depends and CXXFLAGS passing

This commit is contained in:
Bill Hoffman
2001-05-22 13:22:30 -04:00
parent 69503c66eb
commit beaa7dc1c8
4 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ VPATH = @srcdir@
CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@
CXX = @CXX@
CXXFLAGS = -DCMAKE_ROOT_DIR='"@CMAKE_ROOT_DIR@"' @CXXFLAGS@ -DCMAKE_HAS_AUTOCONF -I${CMAKE_CONFIG_DIR}/Source
CXXFLAGS = @CXXFLAGS@ -DCMAKE_ROOT_DIR='"@CMAKE_ROOT_DIR@"' @CXXFLAGS@ -DCMAKE_HAS_AUTOCONF -I${CMAKE_CONFIG_DIR}/Source
.SUFFIXES: .cxx .java .class
+2 -3
View File
@@ -133,11 +133,10 @@ void cmUnixMakefileGenerator::OutputMakefile(const char* file)
this->OutputDependencies(fout);
this->OutputTargets(fout);
this->OutputSubDirectoryRules(fout);
std::string dependName;
std::string dependName = m_Makefile->GetStartOutputDirectory();
dependName += "/cmake.depends";
if(!this->m_CacheOnly)
{
dependName = m_Makefile->GetStartOutputDirectory();
dependName += "/cmake.depends";
std::ofstream dependout(dependName.c_str());
if(!dependout)
{