aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cmake
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-01-29 21:43:16 -0500
committerEli Schwartz <eschwartz@archlinux.org>2023-06-26 13:10:33 -0400
commit3c5d46267f68b01119ecfbe592a3c0d7ba116b62 (patch)
tree7ccb10abfff7fd395e4b7dd475e9069d65322fea /mesonbuild/cmake
parent5849979afaed8c8abd95cbe0226fe7bb97d6e62e (diff)
downloadmeson-3c5d46267f68b01119ecfbe592a3c0d7ba116b62.zip
meson-3c5d46267f68b01119ecfbe592a3c0d7ba116b62.tar.gz
meson-3c5d46267f68b01119ecfbe592a3c0d7ba116b62.tar.bz2
WIP: cmake: do not re-export unused top-level objects
We should try to figure out what is a cross-submodule object and what isn't.
Diffstat (limited to 'mesonbuild/cmake')
-rw-r--r--mesonbuild/cmake/__init__.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/mesonbuild/cmake/__init__.py b/mesonbuild/cmake/__init__.py
index 16c1322..e9d7f2a 100644
--- a/mesonbuild/cmake/__init__.py
+++ b/mesonbuild/cmake/__init__.py
@@ -19,30 +19,21 @@ __all__ = [
'CMakeExecutor',
'CMakeExecScope',
'CMakeException',
- 'CMakeFileAPI',
'CMakeInterpreter',
'CMakeTarget',
'CMakeToolchain',
- 'CMakeTraceLine',
'CMakeTraceParser',
- 'SingleTargetOptions',
'TargetOptions',
- 'parse_generator_expressions',
'language_map',
- 'backend_generator_map',
- 'cmake_get_generator_args',
'cmake_defines_to_args',
'check_cmake_args',
'cmake_is_debug',
'resolve_cmake_trace_targets',
- 'ResolvedTarget',
]
-from .common import CMakeException, SingleTargetOptions, TargetOptions, cmake_defines_to_args, language_map, backend_generator_map, cmake_get_generator_args, check_cmake_args, cmake_is_debug
+from .common import CMakeException, TargetOptions, cmake_defines_to_args, language_map, check_cmake_args, cmake_is_debug
from .executor import CMakeExecutor
-from .fileapi import CMakeFileAPI
-from .generator import parse_generator_expressions
from .interpreter import CMakeInterpreter
from .toolchain import CMakeToolchain, CMakeExecScope
-from .traceparser import CMakeTarget, CMakeTraceLine, CMakeTraceParser
-from .tracetargets import resolve_cmake_trace_targets, ResolvedTarget
+from .traceparser import CMakeTarget, CMakeTraceParser
+from .tracetargets import resolve_cmake_trace_targets