ENH: rename Invoke to InitialPass
This commit is contained in:
parent
72e8b44793
commit
9922155423
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmAbstractFilesCommand.h"
|
||||
|
||||
// cmAbstractFilesCommand
|
||||
bool cmAbstractFilesCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmAbstractFilesCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmAddCustomTargetCommand.h"
|
||||
|
||||
// cmAddCustomTargetCommand
|
||||
bool cmAddCustomTargetCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmAddCustomTargetCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
bool all = false;
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmAddDefinitionsCommand.h"
|
||||
|
||||
// cmAddDefinitionsCommand
|
||||
bool cmAddDefinitionsCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmAddDefinitionsCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// cmExecutableCommand
|
||||
bool cmAddExecutableCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmAddExecutableCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2 )
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// cmLibraryCommand
|
||||
bool cmAddLibraryCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmAddLibraryCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// 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
|
||||
// Second argument is the name of the executable to run (a target or external
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmDirectory.h"
|
||||
|
||||
// cmAuxSourceDirectoryCommand
|
||||
bool cmAuxSourceDirectoryCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2 || args.size() > 2)
|
||||
{
|
||||
|
|
|
@ -68,7 +68,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmBuildCommand.h"
|
||||
|
||||
// cmBuildCommand
|
||||
bool cmBuildCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmBuildCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2 )
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmBuildNameCommand.h"
|
||||
|
||||
// cmBuildNameCommand
|
||||
bool cmBuildNameCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmBuildNameCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmBuildSharedLibrariesCommand.h"
|
||||
|
||||
// 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
|
||||
// already, if so use that value and don't look for the program
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmTarget.h"
|
||||
|
||||
// cmCableClassSetCommand
|
||||
bool cmCableClassSetCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmCableClassSetCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2)
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
|
||||
// cmCableCloseNamespaceCommand
|
||||
bool cmCableCloseNamespaceCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmCableCloseNamespaceCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() != 1)
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
|
||||
// cmCableDefineSetCommand
|
||||
bool cmCableDefineSetCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmCableDefineSetCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2)
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
|
||||
// cmCableOpenNamespaceCommand
|
||||
bool cmCableOpenNamespaceCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmCableOpenNamespaceCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() != 1)
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -60,7 +60,7 @@ cmCablePackageCommand::~cmCablePackageCommand()
|
|||
}
|
||||
|
||||
// cmCablePackageCommand
|
||||
bool cmCablePackageCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmCablePackageCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() != 2)
|
||||
{
|
||||
|
|
|
@ -69,7 +69,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// cmCablePackageEntryCommand
|
||||
bool cmCablePackageEntryCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmCablePackageEntryCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1)
|
||||
{
|
||||
|
|
|
@ -47,9 +47,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
/** \class cmCablePackageEntryCommand
|
||||
* \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
|
||||
* 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
|
||||
* entry.
|
||||
*/
|
||||
|
@ -63,7 +63,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool Invoke(std::vector<std::string>& args);
|
||||
virtual bool InitialPass(std::vector<std::string>& args);
|
||||
|
||||
cmTypeMacro(cmCablePackageEntryCommand, cmCableCommand);
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ cmCableWrapTclCommand::~cmCableWrapTclCommand()
|
|||
|
||||
|
||||
// cmCableWrapTclCommand
|
||||
bool cmCableWrapTclCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmCableWrapTclCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2)
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -78,7 +78,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmConfigureFileCommand.h"
|
||||
|
||||
// cmConfigureFileCommand
|
||||
bool cmConfigureFileCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmConfigureFileCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2 )
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmConfigureFileNoAutoconf.h"
|
||||
|
||||
// cmConfigureFileNoAutoconf
|
||||
bool cmConfigureFileNoAutoconf::Invoke(std::vector<std::string>& args)
|
||||
bool cmConfigureFileNoAutoconf::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() != 2 )
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmElseCommand.h"
|
||||
#include "cmCacheManager.h"
|
||||
|
||||
bool cmElseCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmElseCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -63,7 +63,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmEndIfCommand.h"
|
||||
#include "cmCacheManager.h"
|
||||
|
||||
bool cmEndIfCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmEndIfCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -63,7 +63,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmSystemTools.h"
|
||||
|
||||
// cmExecProgramCommand
|
||||
bool cmExecProgramCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmExecProgramCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
|
||||
// cmFindFileCommand
|
||||
bool cmFindFileCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmFindFileCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2)
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// cmFindLibraryCommand
|
||||
bool cmFindLibraryCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmFindLibraryCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2)
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// cmFindPathCommand
|
||||
bool cmFindPathCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmFindPathCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
|
||||
// cmFindProgramCommand
|
||||
bool cmFindProgramCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmFindProgramCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2 )
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmSystemTools.h"
|
||||
|
||||
// cmGetFilenameComponentCommand
|
||||
bool cmGetFilenameComponentCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmGetFilenameComponentCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 3)
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -77,7 +77,7 @@ ScopeEnded(const cmMakefile &mf) const
|
|||
m_Define.c_str());
|
||||
}
|
||||
|
||||
bool cmIfCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmIfCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -87,7 +87,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <iostream.h>
|
||||
|
||||
// cmIncludeCommand
|
||||
bool cmIncludeCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmIncludeCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if (args.size()< 1)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmIncludeDirectoryCommand.h"
|
||||
#include "cmCacheManager.h"
|
||||
// cmIncludeDirectoryCommand
|
||||
bool cmIncludeDirectoryCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmIncludeDirectoryCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmIncludeRegularExpressionCommand.h"
|
||||
|
||||
// cmIncludeRegularExpressionCommand
|
||||
bool cmIncludeRegularExpressionCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmIncludeRegularExpressionCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() != 1)
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// cmExecutableCommand
|
||||
bool cmInstallFilesCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmInstallFilesCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 3)
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// cmExecutableCommand
|
||||
bool cmInstallTargetsCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmInstallTargetsCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2 )
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmLinkDirectoriesCommand.h"
|
||||
|
||||
// cmLinkDirectoriesCommand
|
||||
bool cmLinkDirectoriesCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmLinkDirectoriesCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmLinkLibrariesCommand.h"
|
||||
|
||||
// cmLinkLibrariesCommand
|
||||
bool cmLinkLibrariesCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <iostream.h>
|
||||
|
||||
// cmLoadcacheCommand
|
||||
bool cmLoadCacheCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmLoadCacheCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if (args.size()< 1)
|
||||
{
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmDirectory.h"
|
||||
|
||||
// cmMakeDirectoryCommand
|
||||
bool cmMakeDirectoryCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmMakeDirectoryCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -68,7 +68,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -275,10 +275,10 @@ bool cmMakefile::ReadListFile(const char* filename, const char* external)
|
|||
if(usedCommand->GetEnabled())
|
||||
{
|
||||
// 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(!usedCommand->Invoke(arguments))
|
||||
if(!usedCommand->InitialPass(arguments))
|
||||
{
|
||||
cmSystemTools::Error(usedCommand->GetName(),
|
||||
": Error : \n",
|
||||
|
|
|
@ -42,7 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmCacheManager.h"
|
||||
|
||||
// cmLibraryCommand
|
||||
bool cmMessageCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmMessageCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -63,7 +63,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmOptionCommand.h"
|
||||
|
||||
// cmOptionCommand
|
||||
bool cmOptionCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmOptionCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2)
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmProjectCommand.h"
|
||||
|
||||
// cmProjectCommand
|
||||
bool cmProjectCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmProjectCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 || args.size() > 1)
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmSetCommand.h"
|
||||
|
||||
// cmSetCommand
|
||||
bool cmSetCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmSetCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmSiteNameCommand.h"
|
||||
|
||||
// cmSiteNameCommand
|
||||
bool cmSiteNameCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmSiteNameCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmSourceFilesCommand.h"
|
||||
|
||||
// cmSourceFilesCommand
|
||||
bool cmSourceFilesCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmSourceFilesCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -70,7 +70,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmSourceGroupCommand.h"
|
||||
|
||||
// cmSourceGroupCommand
|
||||
bool cmSourceGroupCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmSourceGroupCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() != 2)
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmSubdirCommand.h"
|
||||
|
||||
// cmSubdirCommand
|
||||
bool cmSubdirCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmSubdirCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmTargetLinkLibrariesCommand.h"
|
||||
|
||||
// cmTargetLinkLibrariesCommand
|
||||
bool cmTargetLinkLibrariesCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmTargetLinkLibrariesCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2)
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmTestsCommand.h"
|
||||
|
||||
// cmExecutableCommand
|
||||
bool cmTestsCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmTestsCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
// does nothing in CMake
|
||||
return true;
|
||||
|
|
|
@ -69,7 +69,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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.
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmUtilitySourceCommand.h"
|
||||
|
||||
// cmUtilitySourceCommand
|
||||
bool cmUtilitySourceCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmUtilitySourceCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 3)
|
||||
{
|
||||
|
|
|
@ -68,7 +68,7 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* 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
|
||||
|
|
|
@ -41,7 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "cmVTKWrapJavaCommand.h"
|
||||
|
||||
// cmVTKWrapJavaCommand
|
||||
bool cmVTKWrapJavaCommand::Invoke(std::vector<std::string>& args)
|
||||
bool cmVTKWrapJavaCommand::InitialPass(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 3 )
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue