diff options
Diffstat (limited to 'Source/cmElseCommand.cxx')
-rw-r--r-- | Source/cmElseCommand.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmElseCommand.cxx b/Source/cmElseCommand.cxx index 7daca42..c04dbeb 100644 --- a/Source/cmElseCommand.cxx +++ b/Source/cmElseCommand.cxx @@ -73,6 +73,14 @@ bool cmElseCommand::InitialPass(std::vector<std::string> const& args) } } + if (args.size() == 2 && (args[0] == "EXISTS")) + { + if(cmSystemTools::FileExists(args[1].c_str())) + { + f = new cmIfFunctionBlocker(); + } + } + if (args.size() == 2 && (args[0] == "NOT")) { def = m_Makefile->GetDefinition(args[1].c_str()); |