ENH: added patch from Alexander Neundorf to get DEFINITIONS
This commit is contained in:
parent
6a1de7f5ad
commit
d5814719d6
|
@ -53,6 +53,10 @@ bool cmGetDirectoryPropertyCommand::InitialPass(
|
||||||
{
|
{
|
||||||
m_Makefile->GetListOfMacros(output);
|
m_Makefile->GetListOfMacros(output);
|
||||||
}
|
}
|
||||||
|
else if ( args[1] == "DEFINITIONS" )
|
||||||
|
{
|
||||||
|
output=m_Makefile->GetDefineFlags();
|
||||||
|
}
|
||||||
else if ( args[1] == "INCLUDE_DIRECTORIES" )
|
else if ( args[1] == "INCLUDE_DIRECTORIES" )
|
||||||
{
|
{
|
||||||
std::vector<std::string>::iterator it;
|
std::vector<std::string>::iterator it;
|
||||||
|
|
|
@ -57,7 +57,7 @@ public:
|
||||||
"stored in the variable VAR. If the property is not found,"
|
"stored in the variable VAR. If the property is not found,"
|
||||||
"CMake will report an error. The properties include: VARIABLES, "
|
"CMake will report an error. The properties include: VARIABLES, "
|
||||||
"CACHE_VARIABLES, COMMANDS, MACROS, INCLUDE_DIRECTORIES, "
|
"CACHE_VARIABLES, COMMANDS, MACROS, INCLUDE_DIRECTORIES, "
|
||||||
"LINK_DIRECTORIES, and INCLUDE_REGULAR_EXPRESSION.";
|
"LINK_DIRECTORIES, DEFINITIONS and INCLUDE_REGULAR_EXPRESSION.";
|
||||||
}
|
}
|
||||||
|
|
||||||
cmTypeMacro(cmGetDirectoryPropertyCommand, cmCommand);
|
cmTypeMacro(cmGetDirectoryPropertyCommand, cmCommand);
|
||||||
|
|
Loading…
Reference in New Issue