1 /*=========================================================================
3 Program: Insight Segmentation & Registration Toolkit
4 Module: $RCSfile: cmMakeDirectoryCommand.cxx,v $
6 Date: $Date: 2002-03-29 19:20:22 $
7 Version: $Revision: 1.6 $
9 Copyright (c) 2002 Insight Consortium. All rights reserved.
10 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #include "cmMakeDirectoryCommand.h"
18 #include "cmDirectory.h"
20 // cmMakeDirectoryCommand
21 bool cmMakeDirectoryCommand::InitialPass(std::vector
<std::string
> const& args
)
25 this->SetError("called with incorrect number of arguments");
28 cmSystemTools::MakeDirectory(args
[0].c_str());