ENH: Added output of defines flags as part of INCLUDE_FLAGS.
This commit is contained in:
parent
fe25e5873b
commit
670afe1fc0
|
@ -146,6 +146,7 @@ void cmUnixMakefileGenerator::OutputMakeFlags(std::ostream& fout)
|
||||||
std::string include = *i;
|
std::string include = *i;
|
||||||
fout << "-I" << i->c_str() << " ";
|
fout << "-I" << i->c_str() << " ";
|
||||||
}
|
}
|
||||||
|
fout << m_Makefile->GetDefineFlags();
|
||||||
fout << " ${LOCAL_INCLUDE_FLAGS} ";
|
fout << " ${LOCAL_INCLUDE_FLAGS} ";
|
||||||
fout << "\n";
|
fout << "\n";
|
||||||
fout << "default_target: all\n\n";
|
fout << "default_target: all\n\n";
|
||||||
|
@ -228,7 +229,7 @@ void cmUnixMakefileGenerator::OutputExecutableRules(std::ostream& fout)
|
||||||
DotO += ".o";
|
DotO += ".o";
|
||||||
fout << Classes[i].m_ClassName << ": " << DotO << " ";
|
fout << Classes[i].m_ClassName << ": " << DotO << " ";
|
||||||
fout << "${CMAKE_DEPEND_LIBS}\n";
|
fout << "${CMAKE_DEPEND_LIBS}\n";
|
||||||
fout << "\t${CXX} ${CXX_FLAGS} " << m_Makefile->GetDefineFlags()
|
fout << "\t${CXX} ${CXX_FLAGS} "
|
||||||
<< DotO.c_str() << " "
|
<< DotO.c_str() << " "
|
||||||
<< linkLibs.c_str()
|
<< linkLibs.c_str()
|
||||||
<< " -o $@ ""\n\n";
|
<< " -o $@ ""\n\n";
|
||||||
|
|
Loading…
Reference in New Issue