summaryrefslogtreecommitdiffstats
path: root/Source/cmGetDirectoryPropertyCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGetDirectoryPropertyCommand.cxx')
-rw-r--r--Source/cmGetDirectoryPropertyCommand.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGetDirectoryPropertyCommand.cxx b/Source/cmGetDirectoryPropertyCommand.cxx
index 04c0dbb..06302d8 100644
--- a/Source/cmGetDirectoryPropertyCommand.cxx
+++ b/Source/cmGetDirectoryPropertyCommand.cxx
@@ -53,6 +53,10 @@ bool cmGetDirectoryPropertyCommand::InitialPass(
{
m_Makefile->GetListOfMacros(output);
}
+ else if ( args[1] == "DEFINITIONS" )
+ {
+ output=m_Makefile->GetDefineFlags();
+ }
else if ( args[1] == "INCLUDE_DIRECTORIES" )
{
std::vector<std::string>::iterator it;