FIX: stupid pb fixed (close to being medieval'ed by The Ken)
[cmake.git] / Source / cmSourceGroupCommand.cxx
blobb3d40ce7064db9fc247990574b77705d57820b8c
1 /*=========================================================================
3 Program: Insight Segmentation & Registration Toolkit
4 Module: $RCSfile: cmSourceGroupCommand.cxx,v $
5 Language: C++
6 Date: $Date: 2002-01-21 20:30:34 $
7 Version: $Revision: 1.5 $
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 "cmSourceGroupCommand.h"
19 // cmSourceGroupCommand
20 bool cmSourceGroupCommand::InitialPass(std::vector<std::string> const& args)
22 if(args.size() != 2)
24 this->SetError("called with incorrect number of arguments");
25 return false;
28 m_Makefile->AddSourceGroup(args[0].c_str(), args[1].c_str());
30 return true;