diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-06-12 13:06:46 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-06-13 16:38:19 +0200 |
| commit | f4d844278b5a41f04bbce0669319279cf19a799e (patch) | |
| tree | 290e1168df502537693115b2cecb30466f902fb5 /sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp | |
| parent | 76f0919a81db3296f18154f6c94dd53d9c0d3abf (diff) | |
shiboken6: Extend the platforms enumeration
- Add a distinct value for Linux.
- Add iOS/Android.
- Relax the parsing of command line values so that
CMAKE_SYSTEM_NAME can be passed to the --platform option.
- Warn only if unknown names are encountered on the
command line.
- Define the type system keywords depending on it instead
of hardcoding to the host value.
Task-number: PYSIDE-3105
Change-Id: I32650181fb4bd43223e351610f4fc8a0a3e0100b
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp index 5188262de..81d7bd92f 100644 --- a/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp +++ b/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp @@ -827,6 +827,7 @@ BuilderPrivate::SpecialSystemHeader } switch (clang::platform()) { + case Platform::Linux: case Platform::Unix: if (fileName == u"/usr/include/stdlib.h" || baseName == u"types.h" |
