FIX: stupid pb fixed (close to being medieval'ed by The Ken)
[cmake.git] / Source / cmSubdirDependsCommand.h
blob23cd682f8fd457fb0e47af73158ebb802cf62c10
1 /*=========================================================================
3 Program: Insight Segmentation & Registration Toolkit
4 Module: $RCSfile: cmSubdirDependsCommand.h,v $
5 Language: C++
6 Date: $Date: 2002-01-21 20:30:35 $
7 Version: $Revision: 1.4 $
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 #ifndef cmSubdirDependsCommand_h
18 #define cmSubdirDependsCommand_h
20 #include "cmStandardIncludes.h"
21 #include "cmCommand.h"
23 /** \class cmSubdirDependsCommand
24 * \brief Legacy command. Do not use.
26 * cmSubdirDependsCommand has been left in CMake for compatability with
27 * projects already using it. Its functionality in supporting parallel
28 * builds is now automatic. The command does not do anything.
30 class cmSubdirDependsCommand : public cmCommand
32 public:
33 /**
34 * This is a virtual constructor for the command.
36 virtual cmCommand* Clone()
38 return new cmSubdirDependsCommand;
41 /**
42 * This is called when the command is first encountered in
43 * the CMakeLists.txt file.
45 virtual bool InitialPass(std::vector<std::string> const& args);
47 /**
48 * The name of the command as specified in CMakeList.txt.
50 virtual const char* GetName() { return "SUBDIR_DEPENDS";}
52 /**
53 * Succinct documentation.
55 virtual const char* GetTerseDocumentation()
57 return "Legacy command. Does nothing.";
60 /**
61 * More documentation.
63 virtual const char* GetFullDocumentation()
65 return
66 "SUBDIR_DEPENDS(subdir dep1 dep2 ...)\n"
67 "Does not do anything. This command used to help projects order\n"
68 "parallel builds correctly. This functionality is now automatic.";
71 cmTypeMacro(cmSubdirDependsCommand, cmCommand);
76 #endif