Source sweep: Use cmIsOn instead of cmSystemTools::IsOn

This replaces invocations of

- `cmSystemTools::IsInternallyOn` with `cmIsInternallyOn`
- `cmSystemTools::IsNOTFOUND` with `cmIsNOTFOUND`
- `cmSystemTools::IsOn` with `cmIsOn`
- `cmSystemTools::IsOff` with `cmIsOff`
This commit is contained in:
Sebastian Holtermann
2019-08-17 11:04:11 +02:00
parent 5b7650216b
commit 20e580be01
62 changed files with 185 additions and 206 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
#include "cmMakefile.h"
#include "cmSourceFile.h"
#include "cmSystemTools.h"
#include "cmStringAlgorithms.h"
class cmExecutionStatus;
@@ -87,7 +87,7 @@ bool cmSetSourceFilesPropertiesCommand::RunCommand(
propertyPairs.push_back(*j);
if (*j == "GENERATED") {
++j;
if (j != propend && cmSystemTools::IsOn(*j)) {
if (j != propend && cmIsOn(*j)) {
generated = true;
}
} else {