mirror of
https://github.com/dolphin-emu/qsc.git
synced 2026-01-31 01:15:22 +01:00
fixups for cmake builds
This commit is contained in:
@@ -77,7 +77,6 @@ postprocess:
|
||||
- doc
|
||||
- include/QtXml
|
||||
- lib/cmake/Qt6Xml
|
||||
- mkspecs
|
||||
- modules/Xml.json
|
||||
delete_regex:
|
||||
- .*\.prl
|
||||
@@ -87,8 +86,14 @@ postprocess:
|
||||
- bin\\.*\.pl
|
||||
- bin\\android.*
|
||||
- bin\\Qt6Xml.*
|
||||
- lib\\metatypes\\qt6xml_.*\.json
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QICNSPlugin.*\.cmake
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QMinimalIntegrationPlugin.*\.cmake
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QOffscreenIntegrationPlugin.*\.cmake
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QTgaPlugin.*\.cmake
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QWbmpPlugin.*\.cmake
|
||||
- lib\\Qt6Xml.*
|
||||
- lib\\metatypes\\qt6xml_.*\.json
|
||||
- mkspecs\\(?!win32-msvc).*
|
||||
- plugins\\imageformats\\qicns.*
|
||||
- plugins\\imageformats\\qtga.*
|
||||
- plugins\\imageformats\\qwbmp.*
|
||||
|
||||
@@ -76,7 +76,6 @@ postprocess:
|
||||
- doc
|
||||
- include/QtXml
|
||||
- lib/cmake/Qt6Xml
|
||||
- mkspecs
|
||||
- modules/Xml.json
|
||||
delete_regex:
|
||||
# needed if the outputs are to be used as cross compile host tools
|
||||
@@ -86,8 +85,14 @@ postprocess:
|
||||
- bin\\.*\.cmake
|
||||
- bin\\.*\.pl
|
||||
- bin\\Qt6Xml.*
|
||||
- lib\\metatypes\\qt6xml_.*\.json
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QICNSPlugin.*\.cmake
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QMinimalIntegrationPlugin.*\.cmake
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QOffscreenIntegrationPlugin.*\.cmake
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QTgaPlugin.*\.cmake
|
||||
- lib\\cmake\\Qt6Gui\\Qt6QWbmpPlugin.*\.cmake
|
||||
- lib\\Qt6Xml.*
|
||||
- lib\\metatypes\\qt6xml_.*\.json
|
||||
- mkspecs\\(?!win32-msvc).*
|
||||
- plugins\\imageformats\\qicns.*
|
||||
- plugins\\imageformats\\qtga.*
|
||||
- plugins\\imageformats\\qwbmp.*
|
||||
|
||||
@@ -142,10 +142,4 @@ if __name__ == "__main__":
|
||||
# Post process output
|
||||
postprocess_dir(output_path, config.get("postprocess", {}))
|
||||
|
||||
# Bit of a hack: Qt cmake files rely on mkspec dirs being present
|
||||
# even though the contents aren't really used. Ensure they exist.
|
||||
# see lib\cmake\Qt6\QtBuild.cmake
|
||||
if compiler.get("name") == "visual_studio":
|
||||
os.makedirs(os.path.join(output_path, "mkspecs/win32-msvc"), exist_ok=True)
|
||||
|
||||
print("Done. Result in {}".format(output_path))
|
||||
Reference in New Issue
Block a user