aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2021-01-12 22:15:42 +0100
committerEli Schwartz <eschwartz93@gmail.com>2021-01-13 12:53:10 -0500
commit39ede12aa5b27376341df85bc9ec254913f044bd (patch)
treed079bfefe3a9010dd7d7a57dfe207d9b6532b8e8 /mesonbuild/cmake
parentccb15bc0e988f4e90b67606eaad9443c7ccac918 (diff)
downloadmeson-39ede12aa5b27376341df85bc9ec254913f044bd.zip
meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.gz
meson-39ede12aa5b27376341df85bc9ec254913f044bd.tar.bz2
Fix misspells
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
Diffstat (limited to 'mesonbuild/cmake')
-rw-r--r--mesonbuild/cmake/data/preload.cmake4
-rw-r--r--mesonbuild/cmake/interpreter.py2
-rw-r--r--mesonbuild/cmake/traceparser.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/cmake/data/preload.cmake b/mesonbuild/cmake/data/preload.cmake
index 34d38e3..234860b 100644
--- a/mesonbuild/cmake/data/preload.cmake
+++ b/mesonbuild/cmake/data/preload.cmake
@@ -15,8 +15,8 @@ macro(meson_ps_reload_vars)
endmacro()
macro(meson_ps_disabled_function)
- message(WARNING "The function '${ARGV0}' is disabled in the context of CMake subporjects.\n"
- "This should not be an issue but may lead to compilaton errors.")
+ message(WARNING "The function '${ARGV0}' is disabled in the context of CMake subprojects.\n"
+ "This should not be an issue but may lead to compilation errors.")
endmacro()
# Helper macro to inspect the current CMake state
diff --git a/mesonbuild/cmake/interpreter.py b/mesonbuild/cmake/interpreter.py
index 1a533db..782b7c2 100644
--- a/mesonbuild/cmake/interpreter.py
+++ b/mesonbuild/cmake/interpreter.py
@@ -603,7 +603,7 @@ class ConverterTarget:
except KeyError:
return []
- # TODO: Get rid of this once we have propper typing for options
+ # TODO: Get rid of this once we have proper typing for options
assert isinstance(res, list)
for i in res:
assert isinstance(i, str)
diff --git a/mesonbuild/cmake/traceparser.py b/mesonbuild/cmake/traceparser.py
index 613b4b2..298c6b8 100644
--- a/mesonbuild/cmake/traceparser.py
+++ b/mesonbuild/cmake/traceparser.py
@@ -323,7 +323,7 @@ class CMakeTraceParser:
def _cmake_add_custom_command(self, tline: CMakeTraceLine, name: T.Optional[str] = None) -> None:
# DOC: https://cmake.org/cmake/help/latest/command/add_custom_command.html
- args = self._flatten_args(list(tline.args)) # Commands can be passed as ';' seperated lists
+ args = self._flatten_args(list(tline.args)) # Commands can be passed as ';' separated lists
if not args:
return self._gen_exception('add_custom_command', 'requires at least 1 argument', tline)