stringapi: Command names
This commit is contained in:
parent
6557382dcf
commit
85fc9f26a7
|
@ -43,7 +43,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_build";}
|
||||
virtual std::string GetName() const { return "ctest_build";}
|
||||
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus &status);
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_configure";}
|
||||
virtual std::string GetName() const { return "ctest_configure";}
|
||||
|
||||
cmTypeMacro(cmCTestConfigureCommand, cmCTestHandlerCommand);
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_coverage";}
|
||||
virtual std::string GetName() const { return "ctest_coverage";}
|
||||
|
||||
cmTypeMacro(cmCTestCoverageCommand, cmCTestHandlerCommand);
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_empty_binary_directory";}
|
||||
virtual std::string GetName() const { return "ctest_empty_binary_directory";}
|
||||
|
||||
cmTypeMacro(cmCTestEmptyBinaryDirectoryCommand, cmCTestCommand);
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_memcheck";}
|
||||
virtual std::string GetName() const { return "ctest_memcheck";}
|
||||
|
||||
cmTypeMacro(cmCTestMemCheckCommand, cmCTestTestCommand);
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_read_custom_files";}
|
||||
virtual std::string GetName() const { return "ctest_read_custom_files";}
|
||||
|
||||
cmTypeMacro(cmCTestReadCustomFilesCommand, cmCTestCommand);
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_run_script";}
|
||||
virtual std::string GetName() const { return "ctest_run_script";}
|
||||
|
||||
cmTypeMacro(cmCTestRunScriptCommand, cmCTestCommand);
|
||||
};
|
||||
|
|
|
@ -47,7 +47,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_sleep";}
|
||||
virtual std::string GetName() const { return "ctest_sleep";}
|
||||
|
||||
cmTypeMacro(cmCTestSleepCommand, cmCTestCommand);
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_start";}
|
||||
virtual std::string GetName() const { return "ctest_start";}
|
||||
|
||||
cmTypeMacro(cmCTestStartCommand, cmCTestCommand);
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_submit";}
|
||||
virtual std::string GetName() const { return "ctest_submit";}
|
||||
|
||||
cmTypeMacro(cmCTestSubmitCommand, cmCTestHandlerCommand);
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_test";}
|
||||
virtual std::string GetName() const { return "ctest_test";}
|
||||
|
||||
cmTypeMacro(cmCTestTestCommand, cmCTestHandlerCommand);
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "subdirs";}
|
||||
virtual std::string GetName() const { return "subdirs";}
|
||||
|
||||
cmTypeMacro(cmCTestSubdirCommand, cmCommand);
|
||||
|
||||
|
@ -157,7 +157,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "add_subdirectory";}
|
||||
virtual std::string GetName() const { return "add_subdirectory";}
|
||||
|
||||
cmTypeMacro(cmCTestAddSubdirectoryCommand, cmCommand);
|
||||
|
||||
|
@ -243,7 +243,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "add_test";}
|
||||
virtual std::string GetName() const { return "add_test";}
|
||||
|
||||
cmTypeMacro(cmCTestAddTestCommand, cmCommand);
|
||||
|
||||
|
@ -287,7 +287,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "set_tests_properties";}
|
||||
virtual std::string GetName() const { return "set_tests_properties";}
|
||||
|
||||
cmTypeMacro(cmCTestSetTestsPropertiesCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_update";}
|
||||
virtual std::string GetName() const { return "ctest_update";}
|
||||
|
||||
cmTypeMacro(cmCTestUpdateCommand, cmCTestHandlerCommand);
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "ctest_upload";}
|
||||
virtual std::string GetName() const { return "ctest_upload";}
|
||||
|
||||
cmTypeMacro(cmCTestUploadCommand, cmCTestHandlerCommand);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "add_compile_options";}
|
||||
virtual std::string GetName() const {return "add_compile_options";}
|
||||
|
||||
cmTypeMacro(cmAddCompileOptionsCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "add_custom_command";}
|
||||
virtual std::string GetName() const {return "add_custom_command";}
|
||||
|
||||
cmTypeMacro(cmAddCustomCommandCommand, cmCommand);
|
||||
protected:
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const
|
||||
virtual std::string GetName() const
|
||||
{return "add_custom_target";}
|
||||
|
||||
cmTypeMacro(cmAddCustomTargetCommand, cmCommand);
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "add_definitions";}
|
||||
virtual std::string GetName() const {return "add_definitions";}
|
||||
|
||||
cmTypeMacro(cmAddDefinitionsCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "add_dependencies";}
|
||||
virtual std::string GetName() const { return "add_dependencies";}
|
||||
|
||||
cmTypeMacro(cmAddDependenciesCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "add_executable";}
|
||||
virtual std::string GetName() const { return "add_executable";}
|
||||
|
||||
cmTypeMacro(cmAddExecutableCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "add_library";}
|
||||
virtual std::string GetName() const { return "add_library";}
|
||||
|
||||
cmTypeMacro(cmAddLibraryCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "add_subdirectory";}
|
||||
virtual std::string GetName() const { return "add_subdirectory";}
|
||||
|
||||
cmTypeMacro(cmAddSubDirectoryCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "add_test";}
|
||||
virtual std::string GetName() const { return "add_test";}
|
||||
|
||||
cmTypeMacro(cmAddTestCommand, cmCommand);
|
||||
private:
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "aux_source_directory";}
|
||||
virtual std::string GetName() const { return "aux_source_directory";}
|
||||
|
||||
cmTypeMacro(cmAuxSourceDirectoryCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "break";}
|
||||
virtual std::string GetName() const {return "break";}
|
||||
|
||||
cmTypeMacro(cmBreakCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -50,7 +50,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "build_command";}
|
||||
virtual std::string GetName() const {return "build_command";}
|
||||
|
||||
cmTypeMacro(cmBuildCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -21,7 +21,7 @@ public:
|
|||
virtual cmCommand* Clone() { return new cmBuildNameCommand; }
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus &status);
|
||||
virtual const char* GetName() const {return "build_name";}
|
||||
virtual std::string GetName() const {return "build_name";}
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
virtual bool IsDiscouraged() const { return true; }
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const
|
||||
virtual std::string GetName() const
|
||||
{
|
||||
return "cmake_host_system_information";
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "cmake_minimum_required";}
|
||||
virtual std::string GetName() const {return "cmake_minimum_required";}
|
||||
|
||||
cmTypeMacro(cmCMakeMinimumRequired, cmCommand);
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "cmake_policy";}
|
||||
virtual std::string GetName() const {return "cmake_policy";}
|
||||
|
||||
cmTypeMacro(cmCMakePolicyCommand, cmCommand);
|
||||
private:
|
||||
|
|
|
@ -124,7 +124,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const = 0;
|
||||
virtual std::string GetName() const = 0;
|
||||
|
||||
/**
|
||||
* Enable the command.
|
||||
|
|
|
@ -34,7 +34,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "configure_file";}
|
||||
virtual std::string GetName() const { return "configure_file";}
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "create_test_sourcelist";}
|
||||
virtual std::string GetName() const {return "create_test_sourcelist";}
|
||||
|
||||
cmTypeMacro(cmCreateTestSourceList, cmCommand);
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "define_property";}
|
||||
virtual std::string GetName() const { return "define_property";}
|
||||
|
||||
cmTypeMacro(cmDefinePropertyCommand, cmCommand);
|
||||
private:
|
||||
|
|
|
@ -34,8 +34,8 @@ public:
|
|||
void Clear() { this->Entries.clear(); }
|
||||
|
||||
/** Return the name of this section. */
|
||||
const char* GetName() const
|
||||
{ return this->Name.c_str(); }
|
||||
std::string GetName() const
|
||||
{ return this->Name; }
|
||||
|
||||
/** Return a pointer to the first entry of this section. */
|
||||
const std::vector<cmDocumentationEntry> &GetEntries() const
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "else";}
|
||||
virtual std::string GetName() const { return "else";}
|
||||
|
||||
cmTypeMacro(cmElseCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "elseif";}
|
||||
virtual std::string GetName() const { return "elseif";}
|
||||
|
||||
cmTypeMacro(cmElseIfCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "enable_language";}
|
||||
virtual std::string GetName() const {return "enable_language";}
|
||||
|
||||
cmTypeMacro(cmEnableLanguageCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "enable_testing";}
|
||||
virtual std::string GetName() const { return "enable_testing";}
|
||||
|
||||
cmTypeMacro(cmEnableTestingCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "endforeach";}
|
||||
virtual std::string GetName() const { return "endforeach";}
|
||||
|
||||
cmTypeMacro(cmEndForEachCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "endfunction";}
|
||||
virtual std::string GetName() const { return "endfunction";}
|
||||
|
||||
cmTypeMacro(cmEndFunctionCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "endif";}
|
||||
virtual std::string GetName() const { return "endif";}
|
||||
|
||||
cmTypeMacro(cmEndIfCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "endmacro";}
|
||||
virtual std::string GetName() const { return "endmacro";}
|
||||
|
||||
cmTypeMacro(cmEndMacroCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "endwhile";}
|
||||
virtual std::string GetName() const { return "endwhile";}
|
||||
|
||||
cmTypeMacro(cmEndWhileCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const
|
||||
virtual std::string GetName() const
|
||||
{return "exec_program";}
|
||||
|
||||
/**
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const
|
||||
virtual std::string GetName() const
|
||||
{return "execute_process";}
|
||||
|
||||
/**
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "export";}
|
||||
virtual std::string GetName() const { return "export";}
|
||||
|
||||
cmTypeMacro(cmExportCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ public:
|
|||
virtual cmCommand* Clone() { return new cmExportLibraryDependenciesCommand; }
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus &status);
|
||||
virtual const char* GetName() const { return "export_library_dependencies";}
|
||||
virtual std::string GetName() const { return "export_library_dependencies";}
|
||||
virtual bool IsDiscouraged() const { return true; }
|
||||
|
||||
virtual void FinalPass();
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "fltk_wrap_ui";}
|
||||
virtual std::string GetName() const { return "fltk_wrap_ui";}
|
||||
|
||||
private:
|
||||
/**
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "file";}
|
||||
virtual std::string GetName() const { return "file";}
|
||||
|
||||
cmTypeMacro(cmFileCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
{
|
||||
return new cmFindFileCommand;
|
||||
}
|
||||
virtual const char* GetName() const { return "find_file";}
|
||||
virtual std::string GetName() const { return "find_file";}
|
||||
|
||||
cmTypeMacro(cmFindFileCommand, cmFindPathCommand);
|
||||
};
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "find_library";}
|
||||
virtual std::string GetName() const {return "find_library";}
|
||||
|
||||
cmTypeMacro(cmFindLibraryCommand, cmFindBase);
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "find_package";}
|
||||
virtual std::string GetName() const { return "find_package";}
|
||||
|
||||
cmTypeMacro(cmFindPackageCommand, cmFindCommon);
|
||||
private:
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "find_path";}
|
||||
virtual std::string GetName() const {return "find_path";}
|
||||
|
||||
cmTypeMacro(cmFindPathCommand, cmFindBase);
|
||||
bool IncludeFileInPath;
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "find_program";}
|
||||
virtual std::string GetName() const { return "find_program";}
|
||||
|
||||
cmTypeMacro(cmFindProgramCommand, cmFindBase);
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "foreach";}
|
||||
virtual std::string GetName() const { return "foreach";}
|
||||
|
||||
cmTypeMacro(cmForEachCommand, cmCommand);
|
||||
private:
|
||||
|
|
|
@ -64,7 +64,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return this->Args[0].c_str(); }
|
||||
virtual std::string GetName() const { return this->Args[0]; }
|
||||
|
||||
cmTypeMacro(cmFunctionHelperCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "function";}
|
||||
virtual std::string GetName() const { return "function";}
|
||||
|
||||
cmTypeMacro(cmFunctionCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "get_cmake_property";}
|
||||
virtual std::string GetName() const { return "get_cmake_property";}
|
||||
|
||||
cmTypeMacro(cmGetCMakePropertyCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "get_directory_property";}
|
||||
virtual std::string GetName() const { return "get_directory_property";}
|
||||
|
||||
cmTypeMacro(cmGetDirectoryPropertyCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "get_filename_component";}
|
||||
virtual std::string GetName() const { return "get_filename_component";}
|
||||
|
||||
cmTypeMacro(cmGetFilenameComponentCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "get_property";}
|
||||
virtual std::string GetName() const { return "get_property";}
|
||||
|
||||
cmTypeMacro(cmGetPropertyCommand, cmCommand);
|
||||
private:
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "get_source_file_property";}
|
||||
virtual std::string GetName() const { return "get_source_file_property";}
|
||||
|
||||
cmTypeMacro(cmGetSourceFilePropertyCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "get_target_property";}
|
||||
virtual std::string GetName() const { return "get_target_property";}
|
||||
|
||||
cmTypeMacro(cmGetTargetPropertyCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "get_test_property";}
|
||||
virtual std::string GetName() const { return "get_test_property";}
|
||||
|
||||
cmTypeMacro(cmGetTestPropertyCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -63,7 +63,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "if";}
|
||||
virtual std::string GetName() const { return "if";}
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "include";}
|
||||
virtual std::string GetName() const {return "include";}
|
||||
|
||||
cmTypeMacro(cmIncludeCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "include_directories";}
|
||||
virtual std::string GetName() const { return "include_directories";}
|
||||
|
||||
cmTypeMacro(cmIncludeDirectoryCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "include_external_msproject";}
|
||||
virtual std::string GetName() const {return "include_external_msproject";}
|
||||
|
||||
cmTypeMacro(cmIncludeExternalMSProjectCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "include_regular_expression";}
|
||||
virtual std::string GetName() const {return "include_regular_expression";}
|
||||
|
||||
cmTypeMacro(cmIncludeRegularExpressionCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "install";}
|
||||
virtual std::string GetName() const { return "install";}
|
||||
|
||||
cmTypeMacro(cmInstallCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "install_files";}
|
||||
virtual std::string GetName() const { return "install_files";}
|
||||
|
||||
/**
|
||||
* This is called at the end after all the information
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "install_programs";}
|
||||
virtual std::string GetName() const { return "install_programs";}
|
||||
|
||||
/**
|
||||
* This is called at the end after all the information
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "install_targets";}
|
||||
virtual std::string GetName() const { return "install_targets";}
|
||||
|
||||
/** This command is kept for compatibility with older CMake versions. */
|
||||
virtual bool IsDiscouraged() const
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "link_directories";}
|
||||
virtual std::string GetName() const { return "link_directories";}
|
||||
|
||||
cmTypeMacro(cmLinkDirectoriesCommand, cmCommand);
|
||||
private:
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "link_libraries";}
|
||||
virtual std::string GetName() const { return "link_libraries";}
|
||||
|
||||
/** This command is kept for compatibility with older CMake versions. */
|
||||
virtual bool IsDiscouraged() const
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "list";}
|
||||
virtual std::string GetName() const { return "list";}
|
||||
|
||||
cmTypeMacro(cmListCommand, cmCommand);
|
||||
protected:
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "load_cache";}
|
||||
virtual std::string GetName() const { return "load_cache";}
|
||||
|
||||
cmTypeMacro(cmLoadCacheCommand, cmCommand);
|
||||
protected:
|
||||
|
|
|
@ -69,7 +69,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return info.Name; }
|
||||
virtual std::string GetName() const { return info.Name; }
|
||||
|
||||
static const char* LastName;
|
||||
static void TrapsForSignals(int sig)
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
virtual cmCommand* Clone() { return new cmLoadCommandCommand; }
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus &status);
|
||||
virtual const char* GetName() const {return "load_command";}
|
||||
virtual std::string GetName() const {return "load_command";}
|
||||
virtual bool IsDiscouraged() const { return true; }
|
||||
cmTypeMacro(cmLoadCommandCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return this->Args[0].c_str(); }
|
||||
virtual std::string GetName() const { return this->Args[0]; }
|
||||
|
||||
cmTypeMacro(cmMacroHelperCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "macro";}
|
||||
virtual std::string GetName() const { return "macro";}
|
||||
|
||||
cmTypeMacro(cmMacroCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "make_directory";}
|
||||
virtual std::string GetName() const { return "make_directory";}
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "mark_as_advanced";}
|
||||
virtual std::string GetName() const {return "mark_as_advanced";}
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "math";}
|
||||
virtual std::string GetName() const { return "math";}
|
||||
|
||||
cmTypeMacro(cmMathCommand, cmCommand);
|
||||
protected:
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "message";}
|
||||
virtual std::string GetName() const { return "message";}
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "option";}
|
||||
virtual std::string GetName() const {return "option";}
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
|
|
|
@ -22,7 +22,7 @@ public:
|
|||
virtual cmCommand* Clone() { return new cmOutputRequiredFilesCommand; }
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus &status);
|
||||
virtual const char* GetName() const { return "output_required_files";}
|
||||
virtual std::string GetName() const { return "output_required_files";}
|
||||
virtual bool IsDiscouraged() const { return true; }
|
||||
|
||||
void ListDependencies(cmDependInformation const *info,
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "project";}
|
||||
virtual std::string GetName() const {return "project";}
|
||||
|
||||
cmTypeMacro(cmProjectCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "qt_wrap_cpp";}
|
||||
virtual std::string GetName() const { return "qt_wrap_cpp";}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "qt_wrap_ui";}
|
||||
virtual std::string GetName() const { return "qt_wrap_ui";}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "remove";}
|
||||
virtual std::string GetName() const {return "remove";}
|
||||
|
||||
/** This command is kept for compatibility with older CMake versions. */
|
||||
virtual bool IsDiscouraged() const
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "remove_definitions";}
|
||||
virtual std::string GetName() const {return "remove_definitions";}
|
||||
|
||||
cmTypeMacro(cmRemoveDefinitionsCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "return";}
|
||||
virtual std::string GetName() const {return "return";}
|
||||
|
||||
cmTypeMacro(cmReturnCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "separate_arguments";}
|
||||
virtual std::string GetName() const {return "separate_arguments";}
|
||||
|
||||
cmTypeMacro(cmSeparateArgumentsCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const {return "set";}
|
||||
virtual std::string GetName() const {return "set";}
|
||||
|
||||
cmTypeMacro(cmSetCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "set_directory_properties";}
|
||||
virtual std::string GetName() const { return "set_directory_properties";}
|
||||
|
||||
/**
|
||||
* Static entry point for use by other commands
|
||||
|
|
|
@ -34,7 +34,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "set_property";}
|
||||
virtual std::string GetName() const { return "set_property";}
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "set_source_files_properties";}
|
||||
virtual std::string GetName() const { return "set_source_files_properties";}
|
||||
|
||||
cmTypeMacro(cmSetSourceFilesPropertiesCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual const char* GetName() const { return "set_target_properties";}
|
||||
virtual std::string GetName() const { return "set_target_properties";}
|
||||
|
||||
/**
|
||||
* Used by this command and cmSetPropertiesCommand
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue