mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -06:00
cmCommand: remove unused methods from interface and all implementations
This commit is contained in:
@@ -42,14 +42,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "ctest_empty_binary_directory";
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -24,6 +24,11 @@ class cmCTestHandlerCommand : public cmCTestCommand
|
||||
public:
|
||||
cmCTestHandlerCommand();
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const = 0;
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "cmCTestMemCheckCommand.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCTest.h"
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
|
||||
#include "cmCTestTestCommand.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
class cmCTestGenericHandler;
|
||||
class cmCommand;
|
||||
|
||||
@@ -33,11 +31,6 @@ public:
|
||||
return ni;
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_memcheck"; }
|
||||
|
||||
protected:
|
||||
cmCTestGenericHandler* InitializeActualHandler() CM_OVERRIDE;
|
||||
|
||||
|
||||
@@ -40,11 +40,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_read_custom_files"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -41,11 +41,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_run_script"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -41,11 +41,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_sleep"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -54,11 +54,6 @@ public:
|
||||
*/
|
||||
bool ShouldBeQuiet() { return this->Quiet; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_start"; }
|
||||
|
||||
private:
|
||||
bool InitialCheckout(std::ostream& ofs, std::string const& sourceDir);
|
||||
bool CreateNewTag;
|
||||
|
||||
@@ -56,11 +56,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& /*unused*/) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "subdirs"; }
|
||||
|
||||
cmCTestTestHandler* TestHandler;
|
||||
};
|
||||
|
||||
@@ -136,11 +131,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& /*unused*/) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_subdirectory"; }
|
||||
|
||||
cmCTestTestHandler* TestHandler;
|
||||
};
|
||||
|
||||
@@ -206,11 +196,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& /*args*/,
|
||||
cmExecutionStatus& /*unused*/) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_test"; }
|
||||
|
||||
cmCTestTestHandler* TestHandler;
|
||||
};
|
||||
|
||||
@@ -244,11 +229,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& /*args*/,
|
||||
cmExecutionStatus& /*unused*/) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "set_tests_properties"; }
|
||||
|
||||
cmCTestTestHandler* TestHandler;
|
||||
};
|
||||
|
||||
|
||||
@@ -26,11 +26,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_compile_options"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_custom_command"; }
|
||||
|
||||
protected:
|
||||
bool CheckOutputs(const std::vector<std::string>& outputs);
|
||||
};
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_custom_target"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_definitions"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_dependencies"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_executable"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_library"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_subdirectory"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "add_test"; }
|
||||
|
||||
private:
|
||||
bool HandleNameMode(std::vector<std::string> const& args);
|
||||
};
|
||||
|
||||
@@ -35,11 +35,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "aux_source_directory"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "break"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -42,11 +42,6 @@ public:
|
||||
*/
|
||||
virtual bool TwoArgsSignature(std::vector<std::string> const& args);
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "build_command"; }
|
||||
|
||||
private:
|
||||
bool IgnoreErrors() const;
|
||||
};
|
||||
|
||||
@@ -18,7 +18,6 @@ public:
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmBuildNameCommand; }
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
std::string GetName() const CM_OVERRIDE { return "build_name"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -40,14 +40,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "cmake_host_system_information";
|
||||
}
|
||||
|
||||
private:
|
||||
bool GetValue(cmsys::SystemInformation& info, std::string const& key,
|
||||
std::string& value);
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "cmake_minimum_required"; }
|
||||
|
||||
private:
|
||||
std::vector<std::string> UnknownArguments;
|
||||
bool EnforceUnknownArguments();
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "cmake_policy"; }
|
||||
|
||||
private:
|
||||
bool HandleSetMode(std::vector<std::string> const& args);
|
||||
bool HandleGetMode(std::vector<std::string> const& args);
|
||||
|
||||
@@ -79,17 +79,6 @@ public:
|
||||
*/
|
||||
virtual cmCommand* Clone() = 0;
|
||||
|
||||
/**
|
||||
* This determines if the command is defined in a cmake script.
|
||||
* It is the case for cmMacroHelperCommand and cmFunctionHelperCommand.
|
||||
*/
|
||||
virtual bool IsUserDefined() const { return false; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const = 0;
|
||||
|
||||
/**
|
||||
* Return the last error string.
|
||||
*/
|
||||
|
||||
@@ -25,11 +25,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "configure_file"; }
|
||||
|
||||
private:
|
||||
int ConfigureFile();
|
||||
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "continue"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "create_test_sourcelist"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -24,11 +24,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "define_property"; }
|
||||
|
||||
private:
|
||||
std::string PropertyName;
|
||||
std::string BriefDocs;
|
||||
|
||||
@@ -42,8 +42,6 @@ public:
|
||||
return this->Command->HasFinalPass();
|
||||
}
|
||||
|
||||
std::string GetName() const CM_OVERRIDE { return this->Command->GetName(); }
|
||||
|
||||
private:
|
||||
cmCommand* Command;
|
||||
cmPolicies::PolicyID Policy;
|
||||
|
||||
@@ -34,11 +34,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "enable_language"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -39,11 +39,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const&,
|
||||
cmExecutionStatus&) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "enable_testing"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -36,11 +36,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "exec_program"; }
|
||||
|
||||
private:
|
||||
static bool RunCommand(const char* command, std::string& output, int& retVal,
|
||||
const char* directory = CM_NULLPTR,
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "execute_process"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -36,11 +36,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "export"; }
|
||||
|
||||
private:
|
||||
cmCommandArgumentsHelper Helper;
|
||||
cmCommandArgumentGroup ArgumentGroup;
|
||||
|
||||
@@ -21,10 +21,6 @@ public:
|
||||
}
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "export_library_dependencies";
|
||||
}
|
||||
|
||||
void FinalPass() CM_OVERRIDE;
|
||||
bool HasFinalPass() const CM_OVERRIDE { return true; }
|
||||
|
||||
@@ -43,11 +43,6 @@ public:
|
||||
void FinalPass() CM_OVERRIDE;
|
||||
bool HasFinalPass() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "fltk_wrap_ui"; }
|
||||
|
||||
private:
|
||||
/**
|
||||
* List of produced files.
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "file"; }
|
||||
|
||||
protected:
|
||||
bool HandleRename(std::vector<std::string> const& args);
|
||||
bool HandleRemove(std::vector<std::string> const& args, bool recurse);
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
|
||||
#include "cmConfigure.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "cmFindPathCommand.h"
|
||||
|
||||
class cmCommand;
|
||||
@@ -27,7 +25,6 @@ public:
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmFindFileCommand; }
|
||||
std::string GetName() const CM_OVERRIDE { return "find_file"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -36,11 +36,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "find_library"; }
|
||||
|
||||
protected:
|
||||
void AddArchitecturePaths(const char* suffix);
|
||||
void AddArchitecturePath(std::string const& dir,
|
||||
|
||||
@@ -60,11 +60,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "find_package"; }
|
||||
|
||||
private:
|
||||
class PathLabel : public cmFindCommon::PathLabel
|
||||
{
|
||||
|
||||
@@ -36,11 +36,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "find_path"; }
|
||||
|
||||
bool IncludeFileInPath;
|
||||
|
||||
private:
|
||||
|
||||
@@ -37,11 +37,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "find_program"; }
|
||||
|
||||
private:
|
||||
std::string FindProgram();
|
||||
std::string FindNormalProgram();
|
||||
|
||||
@@ -48,11 +48,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "foreach"; }
|
||||
|
||||
private:
|
||||
bool HandleInMode(std::vector<std::string> const& args);
|
||||
};
|
||||
|
||||
@@ -20,11 +20,6 @@ public:
|
||||
///! clean up any memory allocated by the function
|
||||
~cmFunctionHelperCommand() CM_OVERRIDE {}
|
||||
|
||||
/**
|
||||
* This determines if the command is defined in a cmake script.
|
||||
*/
|
||||
bool IsUserDefined() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
@@ -52,11 +47,6 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return this->Args[0]; }
|
||||
|
||||
std::vector<std::string> Args;
|
||||
std::vector<cmListFileFunction> Functions;
|
||||
cmPolicies::PolicyMap Policies;
|
||||
|
||||
@@ -44,11 +44,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "function"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,11 +23,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "get_cmake_property"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -24,11 +24,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "get_directory_property"; }
|
||||
|
||||
private:
|
||||
void StoreResult(const std::string& variable, const char* prop);
|
||||
};
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "get_filename_component"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -26,11 +26,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "get_property"; }
|
||||
|
||||
private:
|
||||
enum OutType
|
||||
{
|
||||
|
||||
@@ -23,14 +23,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "get_source_file_property";
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,11 +23,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "get_target_property"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,11 +23,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "get_test_property"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -64,11 +64,6 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "if"; }
|
||||
|
||||
// Filter the given variable definition based on policy CMP0054.
|
||||
static const char* GetDefinitionIfUnquoted(
|
||||
const cmMakefile* mf, cmExpandedCommandArgument const& argument);
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "include"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "include_directories"; }
|
||||
|
||||
protected:
|
||||
// used internally
|
||||
void GetIncludes(const std::string& arg, std::vector<std::string>& incs);
|
||||
|
||||
@@ -36,14 +36,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "include_external_msproject";
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -35,14 +35,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "include_regular_expression";
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "install"; }
|
||||
|
||||
private:
|
||||
bool HandleScriptMode(std::vector<std::string> const& args);
|
||||
bool HandleTargetsMode(std::vector<std::string> const& args);
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "install_files"; }
|
||||
|
||||
/**
|
||||
* This is called at the end after all the information
|
||||
* specified by the command is accumulated. Most commands do
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "install_programs"; }
|
||||
|
||||
/**
|
||||
* This is called at the end after all the information
|
||||
* specified by the command is accumulated. Most commands do
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "install_targets"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -35,11 +35,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "link_directories"; }
|
||||
|
||||
private:
|
||||
void AddLinkDir(std::string const& dir);
|
||||
};
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "link_libraries"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "list"; }
|
||||
|
||||
protected:
|
||||
bool HandleLengthCommand(std::vector<std::string> const& args);
|
||||
bool HandleGetCommand(std::vector<std::string> const& args);
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "load_cache"; }
|
||||
|
||||
protected:
|
||||
std::set<std::string> VariablesToRead;
|
||||
std::string Prefix;
|
||||
|
||||
@@ -66,11 +66,6 @@ public:
|
||||
return this->info.FinalPass != CM_NULLPTR;
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return info.Name; }
|
||||
|
||||
static const char* LastName;
|
||||
static void TrapsForSignals(int sig)
|
||||
{
|
||||
|
||||
@@ -18,7 +18,6 @@ public:
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmLoadCommandCommand; }
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
std::string GetName() const CM_OVERRIDE { return "load_command"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,11 +21,6 @@ public:
|
||||
///! clean up any memory allocated by the macro
|
||||
~cmMacroHelperCommand() CM_OVERRIDE {}
|
||||
|
||||
/**
|
||||
* This determines if the command is defined in a cmake script.
|
||||
*/
|
||||
bool IsUserDefined() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
@@ -53,11 +48,6 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return this->Args[0]; }
|
||||
|
||||
std::vector<std::string> Args;
|
||||
std::vector<cmListFileFunction> Functions;
|
||||
cmPolicies::PolicyMap Policies;
|
||||
|
||||
@@ -44,11 +44,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "macro"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -35,11 +35,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "make_directory"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "mark_as_advanced"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -28,11 +28,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "math"; }
|
||||
|
||||
protected:
|
||||
bool HandleExprCommand(std::vector<std::string> const& args);
|
||||
};
|
||||
|
||||
@@ -30,11 +30,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "message"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "option"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,7 +21,6 @@ public:
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmOutputRequiredFilesCommand; }
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
std::string GetName() const CM_OVERRIDE { return "output_required_files"; }
|
||||
|
||||
void ListDependencies(cmDependInformation const* info, FILE* fout,
|
||||
std::set<cmDependInformation const*>* visited);
|
||||
|
||||
@@ -29,11 +29,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "cmake_parse_arguments"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -34,11 +34,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "project"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -32,11 +32,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "qt_wrap_cpp"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "qt_wrap_ui"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "remove"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "remove_definitions"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "return"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "separate_arguments"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "set"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -28,14 +28,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "set_directory_properties";
|
||||
}
|
||||
|
||||
/**
|
||||
* Static entry point for use by other commands
|
||||
*/
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "set_property"; }
|
||||
|
||||
private:
|
||||
std::set<std::string> Names;
|
||||
std::string PropertyName;
|
||||
|
||||
@@ -28,14 +28,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "set_source_files_properties";
|
||||
}
|
||||
|
||||
static bool RunCommand(cmMakefile* mf,
|
||||
std::vector<std::string>::const_iterator filebeg,
|
||||
std::vector<std::string>::const_iterator fileend,
|
||||
|
||||
@@ -25,11 +25,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "set_target_properties"; }
|
||||
|
||||
/**
|
||||
* Used by this command and cmSetPropertiesCommand
|
||||
*/
|
||||
|
||||
@@ -25,11 +25,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "set_tests_properties"; }
|
||||
|
||||
static bool SetOneTest(const std::string& tname,
|
||||
std::vector<std::string>& propertyPairs,
|
||||
cmMakefile* mf, std::string& errors);
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "site_name"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "source_group"; }
|
||||
|
||||
private:
|
||||
bool processTree(const std::vector<std::string>& args,
|
||||
std::string& errorMsg);
|
||||
|
||||
@@ -381,7 +381,6 @@ void cmState::SetIsGeneratorMultiConfig(bool b)
|
||||
void cmState::AddBuiltinCommand(std::string const& name, cmCommand* command)
|
||||
{
|
||||
assert(name == cmSystemTools::LowerCase(name));
|
||||
assert(name == cmSystemTools::LowerCase(command->GetName()));
|
||||
assert(this->BuiltinCommands.find(name) == this->BuiltinCommands.end());
|
||||
this->BuiltinCommands.insert(std::make_pair(name, command));
|
||||
}
|
||||
|
||||
@@ -31,11 +31,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "string"; }
|
||||
|
||||
protected:
|
||||
bool HandleConfigureCommand(std::vector<std::string> const& args);
|
||||
bool HandleAsciiCommand(std::vector<std::string> const& args);
|
||||
|
||||
@@ -33,11 +33,6 @@ public:
|
||||
*/
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "subdirs"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -18,7 +18,6 @@ public:
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmSubdirDependsCommand; }
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
std::string GetName() const CM_OVERRIDE { return "subdir_depends"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -32,14 +32,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "target_compile_definitions";
|
||||
}
|
||||
|
||||
private:
|
||||
void HandleImportedTarget(const std::string& tgt) CM_OVERRIDE;
|
||||
void HandleMissingTarget(const std::string& name) CM_OVERRIDE;
|
||||
|
||||
@@ -21,8 +21,6 @@ class cmTargetCompileFeaturesCommand : public cmTargetPropCommandBase
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
std::string GetName() const CM_OVERRIDE { return "target_compile_features"; }
|
||||
|
||||
private:
|
||||
void HandleImportedTarget(const std::string& tgt) CM_OVERRIDE;
|
||||
void HandleMissingTarget(const std::string& name) CM_OVERRIDE;
|
||||
|
||||
@@ -29,11 +29,6 @@ public:
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
std::string GetName() const CM_OVERRIDE { return "target_compile_options"; }
|
||||
|
||||
private:
|
||||
void HandleImportedTarget(const std::string& tgt) CM_OVERRIDE;
|
||||
void HandleMissingTarget(const std::string& name) CM_OVERRIDE;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user