mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
COMPILE_WARNING_AS_ERROR: rename methods to prepare link similar functionality
Methods renamed: * SetIgnoreWasinigAsError => SetIgnoreCompileWasningAsError * GetIgnoreWasinigAsError => GetIgnoreCompileWasningAsError
This commit is contained in:
@@ -829,7 +829,8 @@ void cmLocalUnixMakefileGenerator3::WriteSpecialTargetsBottom(
|
||||
std::string cmakefileName = "CMakeFiles/Makefile.cmake";
|
||||
std::string runRule = cmStrCat(
|
||||
"$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) ",
|
||||
cm->GetIgnoreWarningAsError() ? "--compile-no-warning-as-error " : "",
|
||||
cm->GetIgnoreCompileWarningAsError() ? "--compile-no-warning-as-error "
|
||||
: "",
|
||||
"--check-build-system ",
|
||||
this->ConvertToOutputFormat(cmakefileName, cmOutputConverter::SHELL),
|
||||
" 0");
|
||||
@@ -1831,7 +1832,8 @@ void cmLocalUnixMakefileGenerator3::WriteLocalAllRules(
|
||||
{
|
||||
std::string runRule = cmStrCat(
|
||||
"$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) ",
|
||||
cm->GetIgnoreWarningAsError() ? "--compile-no-warning-as-error " : "",
|
||||
cm->GetIgnoreCompileWarningAsError() ? "--compile-no-warning-as-error "
|
||||
: "",
|
||||
"--check-build-system ",
|
||||
this->ConvertToOutputFormat(cmakefileName, cmOutputConverter::SHELL),
|
||||
" 1");
|
||||
|
||||
Reference in New Issue
Block a user