diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-07-01 14:23:16 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-07-01 14:23:16 (GMT) |
commit | d5814719d60ba3b97fa1189de49fd16f405c6ae0 (patch) | |
tree | 933c8ab733579f8d06f8310a9bfc5303765014dc /Source/cmGetDirectoryPropertyCommand.cxx | |
parent | 6a1de7f5ad2f684fdf8bfdea2a3ad982387e9a27 (diff) | |
download | CMake-d5814719d60ba3b97fa1189de49fd16f405c6ae0.zip CMake-d5814719d60ba3b97fa1189de49fd16f405c6ae0.tar.gz CMake-d5814719d60ba3b97fa1189de49fd16f405c6ae0.tar.bz2 |
ENH: added patch from Alexander Neundorf to get DEFINITIONS
Diffstat (limited to 'Source/cmGetDirectoryPropertyCommand.cxx')
-rw-r--r-- | Source/cmGetDirectoryPropertyCommand.cxx | 4 |
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; |