diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-06 22:54:13 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-08-06 22:54:13 (GMT) |
commit | 96d561aabc7ca453396b8d419b3398dea6b13572 (patch) | |
tree | cfb721d465938dc9d7f5454854897414c8006bd7 /Source/cmGetCMakePropertyCommand.cxx | |
parent | 7d6aaf23e9c3d1ffe81c85791191658b797271f2 (diff) | |
download | CMake-96d561aabc7ca453396b8d419b3398dea6b13572.zip CMake-96d561aabc7ca453396b8d419b3398dea6b13572.tar.gz CMake-96d561aabc7ca453396b8d419b3398dea6b13572.tar.bz2 |
ENH: Add option to retrieve list of macros. Close Bug #25 - Get_CMAKE_PROPERTIES
Diffstat (limited to 'Source/cmGetCMakePropertyCommand.cxx')
-rw-r--r-- | Source/cmGetCMakePropertyCommand.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGetCMakePropertyCommand.cxx b/Source/cmGetCMakePropertyCommand.cxx index 0b66b14..43063af 100644 --- a/Source/cmGetCMakePropertyCommand.cxx +++ b/Source/cmGetCMakePropertyCommand.cxx @@ -63,6 +63,10 @@ bool cmGetCMakePropertyCommand::InitialPass( cc++; } } + else if ( args[1] == "MACROS" ) + { + m_Makefile->GetListOfMacros(output); + } else { std::string emsg = "Unknown CMake property: " + args[1]; |