BUG: Fix find_* search order with path suffixes
[cmake.git] / Source / cmCommands.h
blob5f464f3ba88699616877b8da8b0a81712699b7a1
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCommands.h,v $
5 Language: C++
6 Date: $Date: 2005-01-21 15:27:51 $
7 Version: $Revision: 1.6 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html 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 cmCommands_h
18 #define cmCommands_h
19 #include "cmStandardIncludes.h"
21 class cmCommand;
22 /**
23 * Global function to return all compiled in commands.
24 * To add a new command edit cmCommands.cxx or cmBootstrapCommands.cxx
25 * and add your command.
26 * It is up to the caller to delete the commands created by this
27 * call.
29 void GetBootstrapCommands(std::list<cmCommand*>& commands);
30 void GetPredefinedCommands(std::list<cmCommand*>& commands);
33 #endif