ENH: rename Invoke to InitialPass

This commit is contained in:
Bill Hoffman 2001-06-06 13:19:15 -04:00
parent 72e8b44793
commit 9922155423
107 changed files with 110 additions and 110 deletions

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmAbstractFilesCommand.h" #include "cmAbstractFilesCommand.h"
// cmAbstractFilesCommand // cmAbstractFilesCommand
bool cmAbstractFilesCommand::Invoke(std::vector<std::string>& args) bool cmAbstractFilesCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -56,7 +56,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the input file. * the input file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmAddCustomTargetCommand.h" #include "cmAddCustomTargetCommand.h"
// cmAddCustomTargetCommand // cmAddCustomTargetCommand
bool cmAddCustomTargetCommand::Invoke(std::vector<std::string>& args) bool cmAddCustomTargetCommand::InitialPass(std::vector<std::string>& args)
{ {
bool all = false; bool all = false;

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmAddDefinitionsCommand.h" #include "cmAddDefinitionsCommand.h"
// cmAddDefinitionsCommand // cmAddDefinitionsCommand
bool cmAddDefinitionsCommand::Invoke(std::vector<std::string>& args) bool cmAddDefinitionsCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmExecutableCommand // cmExecutableCommand
bool cmAddExecutableCommand::Invoke(std::vector<std::string>& args) bool cmAddExecutableCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2 ) if(args.size() < 2 )
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmLibraryCommand // cmLibraryCommand
bool cmAddLibraryCommand::Invoke(std::vector<std::string>& args) bool cmAddLibraryCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmExecutableCommand // cmExecutableCommand
bool cmAddTestCommand::Invoke(std::vector<std::string>& args) bool cmAddTestCommand::InitialPass(std::vector<std::string>& args)
{ {
// First argument is the name of the test // First argument is the name of the test
// Second argument is the name of the executable to run (a target or external // Second argument is the name of the executable to run (a target or external

View File

@ -64,7 +64,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmDirectory.h" #include "cmDirectory.h"
// cmAuxSourceDirectoryCommand // cmAuxSourceDirectoryCommand
bool cmAuxSourceDirectoryCommand::Invoke(std::vector<std::string>& args) bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2 || args.size() > 2) if(args.size() < 2 || args.size() > 2)
{ {

View File

@ -68,7 +68,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmBuildCommand.h" #include "cmBuildCommand.h"
// cmBuildCommand // cmBuildCommand
bool cmBuildCommand::Invoke(std::vector<std::string>& args) bool cmBuildCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2 ) if(args.size() < 2 )
{ {

View File

@ -64,7 +64,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmBuildNameCommand.h" #include "cmBuildNameCommand.h"
// cmBuildNameCommand // cmBuildNameCommand
bool cmBuildNameCommand::Invoke(std::vector<std::string>& args) bool cmBuildNameCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -64,7 +64,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmBuildSharedLibrariesCommand.h" #include "cmBuildSharedLibrariesCommand.h"
// cmBuildSharedLibrariesCommand // cmBuildSharedLibrariesCommand
bool cmBuildSharedLibrariesCommand::Invoke(std::vector<std::string>& args) bool cmBuildSharedLibrariesCommand::InitialPass(std::vector<std::string>& args)
{ {
// Now check and see if the value has been stored in the cache // Now check and see if the value has been stored in the cache
// already, if so use that value and don't look for the program // already, if so use that value and don't look for the program

View File

@ -25,7 +25,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmTarget.h" #include "cmTarget.h"
// cmCableClassSetCommand // cmCableClassSetCommand
bool cmCableClassSetCommand::Invoke(std::vector<std::string>& args) bool cmCableClassSetCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2) if(args.size() < 2)
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// cmCableCloseNamespaceCommand // cmCableCloseNamespaceCommand
bool cmCableCloseNamespaceCommand::Invoke(std::vector<std::string>& args) bool cmCableCloseNamespaceCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() != 1) if(args.size() != 1)
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// cmCableDefineSetCommand // cmCableDefineSetCommand
bool cmCableDefineSetCommand::Invoke(std::vector<std::string>& args) bool cmCableDefineSetCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2) if(args.size() < 2)
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// cmCableOpenNamespaceCommand // cmCableOpenNamespaceCommand
bool cmCableOpenNamespaceCommand::Invoke(std::vector<std::string>& args) bool cmCableOpenNamespaceCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() != 1) if(args.size() != 1)
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -60,7 +60,7 @@ cmCablePackageCommand::~cmCablePackageCommand()
} }
// cmCablePackageCommand // cmCablePackageCommand
bool cmCablePackageCommand::Invoke(std::vector<std::string>& args) bool cmCablePackageCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() != 2) if(args.size() != 2)
{ {

View File

@ -69,7 +69,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This is called at the end after all the information * This is called at the end after all the information

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmCablePackageEntryCommand // cmCablePackageEntryCommand
bool cmCablePackageEntryCommand::Invoke(std::vector<std::string>& args) bool cmCablePackageEntryCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1) if(args.size() < 1)
{ {

View File

@ -47,9 +47,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/** \class cmCablePackageEntryCommand /** \class cmCablePackageEntryCommand
* \brief Superclass to all CABLE Package entry generation commands. * \brief Superclass to all CABLE Package entry generation commands.
* *
* cmCablePackageEntryCommand implements the Invoke method of a cmCommand * cmCablePackageEntryCommand implements the InitialPass method of a cmCommand
* to save the arguments as a vector of entries to a CABLE Package. The * to save the arguments as a vector of entries to a CABLE Package. The
* Invoke then calls the virtual WriteConfiguration() so that the subclass * InitialPass then calls the virtual WriteConfiguration() so that the subclass
* can generate the configuration code for its particular type of Package * can generate the configuration code for its particular type of Package
* entry. * entry.
*/ */
@ -63,7 +63,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
cmTypeMacro(cmCablePackageEntryCommand, cmCableCommand); cmTypeMacro(cmCablePackageEntryCommand, cmCableCommand);

View File

@ -60,7 +60,7 @@ cmCableWrapTclCommand::~cmCableWrapTclCommand()
// cmCableWrapTclCommand // cmCableWrapTclCommand
bool cmCableWrapTclCommand::Invoke(std::vector<std::string>& args) bool cmCableWrapTclCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2) if(args.size() < 2)
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -78,7 +78,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args) = 0; virtual bool InitialPass(std::vector<std::string>& args) = 0;
/** /**
* This is called at the end after all the information * This is called at the end after all the information

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmConfigureFileCommand.h" #include "cmConfigureFileCommand.h"
// cmConfigureFileCommand // cmConfigureFileCommand
bool cmConfigureFileCommand::Invoke(std::vector<std::string>& args) bool cmConfigureFileCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2 ) if(args.size() < 2 )
{ {

View File

@ -56,7 +56,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the input file. * the input file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmConfigureFileNoAutoconf.h" #include "cmConfigureFileNoAutoconf.h"
// cmConfigureFileNoAutoconf // cmConfigureFileNoAutoconf
bool cmConfigureFileNoAutoconf::Invoke(std::vector<std::string>& args) bool cmConfigureFileNoAutoconf::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() != 2 ) if(args.size() != 2 )
{ {

View File

@ -56,7 +56,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the input file. * the input file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmElseCommand.h" #include "cmElseCommand.h"
#include "cmCacheManager.h" #include "cmCacheManager.h"
bool cmElseCommand::Invoke(std::vector<std::string>& args) bool cmElseCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -63,7 +63,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmEndIfCommand.h" #include "cmEndIfCommand.h"
#include "cmCacheManager.h" #include "cmCacheManager.h"
bool cmEndIfCommand::Invoke(std::vector<std::string>& args) bool cmEndIfCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -63,7 +63,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmSystemTools.h" #include "cmSystemTools.h"
// cmExecProgramCommand // cmExecProgramCommand
bool cmExecProgramCommand::Invoke(std::vector<std::string>& args) bool cmExecProgramCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// cmFindFileCommand // cmFindFileCommand
bool cmFindFileCommand::Invoke(std::vector<std::string>& args) bool cmFindFileCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2) if(args.size() < 2)
{ {

View File

@ -67,7 +67,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmFindLibraryCommand // cmFindLibraryCommand
bool cmFindLibraryCommand::Invoke(std::vector<std::string>& args) bool cmFindLibraryCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2) if(args.size() < 2)
{ {

View File

@ -67,7 +67,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmFindPathCommand // cmFindPathCommand
bool cmFindPathCommand::Invoke(std::vector<std::string>& args) bool cmFindPathCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2) if(args.size() < 2)
{ {

View File

@ -42,7 +42,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// cmFindProgramCommand // cmFindProgramCommand
bool cmFindProgramCommand::Invoke(std::vector<std::string>& args) bool cmFindProgramCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2 ) if(args.size() < 2 )
{ {

View File

@ -67,7 +67,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmSystemTools.h" #include "cmSystemTools.h"
// cmGetFilenameComponentCommand // cmGetFilenameComponentCommand
bool cmGetFilenameComponentCommand::Invoke(std::vector<std::string>& args) bool cmGetFilenameComponentCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 3) if(args.size() < 3)
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -77,7 +77,7 @@ ScopeEnded(const cmMakefile &mf) const
m_Define.c_str()); m_Define.c_str());
} }
bool cmIfCommand::Invoke(std::vector<std::string>& args) bool cmIfCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -87,7 +87,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -18,7 +18,7 @@
#include <iostream.h> #include <iostream.h>
// cmIncludeCommand // cmIncludeCommand
bool cmIncludeCommand::Invoke(std::vector<std::string>& args) bool cmIncludeCommand::InitialPass(std::vector<std::string>& args)
{ {
if (args.size()< 1) if (args.size()< 1)
{ {

View File

@ -42,7 +42,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmIncludeDirectoryCommand.h" #include "cmIncludeDirectoryCommand.h"
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmIncludeDirectoryCommand // cmIncludeDirectoryCommand
bool cmIncludeDirectoryCommand::Invoke(std::vector<std::string>& args) bool cmIncludeDirectoryCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmIncludeRegularExpressionCommand.h" #include "cmIncludeRegularExpressionCommand.h"
// cmIncludeRegularExpressionCommand // cmIncludeRegularExpressionCommand
bool cmIncludeRegularExpressionCommand::Invoke(std::vector<std::string>& args) bool cmIncludeRegularExpressionCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() != 1) if(args.size() != 1)
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmExecutableCommand // cmExecutableCommand
bool cmInstallFilesCommand::Invoke(std::vector<std::string>& args) bool cmInstallFilesCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 3) if(args.size() < 3)
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmExecutableCommand // cmExecutableCommand
bool cmInstallTargetsCommand::Invoke(std::vector<std::string>& args) bool cmInstallTargetsCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2 ) if(args.size() < 2 )
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmLinkDirectoriesCommand.h" #include "cmLinkDirectoriesCommand.h"
// cmLinkDirectoriesCommand // cmLinkDirectoriesCommand
bool cmLinkDirectoriesCommand::Invoke(std::vector<std::string>& args) bool cmLinkDirectoriesCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -67,7 +67,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmLinkLibrariesCommand.h" #include "cmLinkLibrariesCommand.h"
// cmLinkLibrariesCommand // cmLinkLibrariesCommand
bool cmLinkLibrariesCommand::Invoke(std::vector<std::string>& args) bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -18,7 +18,7 @@
#include <iostream.h> #include <iostream.h>
// cmLoadcacheCommand // cmLoadcacheCommand
bool cmLoadCacheCommand::Invoke(std::vector<std::string>& args) bool cmLoadCacheCommand::InitialPass(std::vector<std::string>& args)
{ {
if (args.size()< 1) if (args.size()< 1)
{ {

View File

@ -61,7 +61,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmDirectory.h" #include "cmDirectory.h"
// cmMakeDirectoryCommand // cmMakeDirectoryCommand
bool cmMakeDirectoryCommand::Invoke(std::vector<std::string>& args) bool cmMakeDirectoryCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -68,7 +68,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -275,10 +275,10 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external)
if(usedCommand->GetEnabled()) if(usedCommand->GetEnabled())
{ {
// if not running in inherit mode or // if not running in inherit mode or
// if the command is inherited then Invoke it. // if the command is inherited then InitialPass it.
if(!inheriting || usedCommand->IsInherited()) if(!inheriting || usedCommand->IsInherited())
{ {
if(!usedCommand->Invoke(arguments)) if(!usedCommand->InitialPass(arguments))
{ {
cmSystemTools::Error(usedCommand->GetName(), cmSystemTools::Error(usedCommand->GetName(),
": Error : \n", ": Error : \n",

View File

@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmCacheManager.h" #include "cmCacheManager.h"
// cmLibraryCommand // cmLibraryCommand
bool cmMessageCommand::Invoke(std::vector<std::string>& args) bool cmMessageCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -63,7 +63,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmOptionCommand.h" #include "cmOptionCommand.h"
// cmOptionCommand // cmOptionCommand
bool cmOptionCommand::Invoke(std::vector<std::string>& args) bool cmOptionCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2) if(args.size() < 2)
{ {

View File

@ -64,7 +64,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmProjectCommand.h" #include "cmProjectCommand.h"
// cmProjectCommand // cmProjectCommand
bool cmProjectCommand::Invoke(std::vector<std::string>& args) bool cmProjectCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 || args.size() > 1) if(args.size() < 1 || args.size() > 1)
{ {

View File

@ -67,7 +67,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmSetCommand.h" #include "cmSetCommand.h"
// cmSetCommand // cmSetCommand
bool cmSetCommand::Invoke(std::vector<std::string>& args) bool cmSetCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -64,7 +64,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmSiteNameCommand.h" #include "cmSiteNameCommand.h"
// cmSiteNameCommand // cmSiteNameCommand
bool cmSiteNameCommand::Invoke(std::vector<std::string>& args) bool cmSiteNameCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -64,7 +64,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmSourceFilesCommand.h" #include "cmSourceFilesCommand.h"
// cmSourceFilesCommand // cmSourceFilesCommand
bool cmSourceFilesCommand::Invoke(std::vector<std::string>& args) bool cmSourceFilesCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -70,7 +70,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmSourceGroupCommand.h" #include "cmSourceGroupCommand.h"
// cmSourceGroupCommand // cmSourceGroupCommand
bool cmSourceGroupCommand::Invoke(std::vector<std::string>& args) bool cmSourceGroupCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() != 2) if(args.size() != 2)
{ {

View File

@ -65,7 +65,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmSubdirCommand.h" #include "cmSubdirCommand.h"
// cmSubdirCommand // cmSubdirCommand
bool cmSubdirCommand::Invoke(std::vector<std::string>& args) bool cmSubdirCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 1 ) if(args.size() < 1 )
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmTargetLinkLibrariesCommand.h" #include "cmTargetLinkLibrariesCommand.h"
// cmTargetLinkLibrariesCommand // cmTargetLinkLibrariesCommand
bool cmTargetLinkLibrariesCommand::Invoke(std::vector<std::string>& args) bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 2) if(args.size() < 2)
{ {

View File

@ -66,7 +66,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmTestsCommand.h" #include "cmTestsCommand.h"
// cmExecutableCommand // cmExecutableCommand
bool cmTestsCommand::Invoke(std::vector<std::string>& args) bool cmTestsCommand::InitialPass(std::vector<std::string>& args)
{ {
// does nothing in CMake // does nothing in CMake
return true; return true;

View File

@ -69,7 +69,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* The name of the command as specified in CMakeList.txt. * The name of the command as specified in CMakeList.txt.

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmUtilitySourceCommand.h" #include "cmUtilitySourceCommand.h"
// cmUtilitySourceCommand // cmUtilitySourceCommand
bool cmUtilitySourceCommand::Invoke(std::vector<std::string>& args) bool cmUtilitySourceCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 3) if(args.size() < 3)
{ {

View File

@ -68,7 +68,7 @@ public:
* This is called when the command is first encountered in * This is called when the command is first encountered in
* the CMakeLists.txt file. * the CMakeLists.txt file.
*/ */
virtual bool Invoke(std::vector<std::string>& args); virtual bool InitialPass(std::vector<std::string>& args);
/** /**
* This determines if the command gets propagated down * This determines if the command gets propagated down

View File

@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cmVTKWrapJavaCommand.h" #include "cmVTKWrapJavaCommand.h"
// cmVTKWrapJavaCommand // cmVTKWrapJavaCommand
bool cmVTKWrapJavaCommand::Invoke(std::vector<std::string>& args) bool cmVTKWrapJavaCommand::InitialPass(std::vector<std::string>& args)
{ {
if(args.size() < 3 ) if(args.size() < 3 )
{ {

Some files were not shown because too many files have changed in this diff Show More