Successor to that old MoltenVK PR. Does a lot of cleanups within root CMakeLists.txt, hands over MoltenVK and VulkanValidationLayers to CPMUtil, and separates out common operations into my modules. Hopefully reduces the monstrosity that is root CMakeLists.txt. Please test: - builds on all platforms - VulkanValidationLayers Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3126 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> |
||
|---|---|---|
| .. | ||
| cpm | ||
| translations | ||
| windows | ||
| README.md | ||
| VectorDrawable2Svg.py | ||
| clang-format.sh | ||
| cpm-fetch-all.sh | ||
| dtrace-tool.pl | ||
| dtrace-tool.sh | ||
| find-unused-strings.sh | ||
| generate-legacy-icons.sh | ||
| generate_converters.py | ||
| lanczos-gen.pl | ||
| llvmpipe-run.sh | ||
| optimize-assets.sh | ||
| shellcheck.sh | ||
| stale-translations.sh | ||
| svc_generator.py | ||
| unused-strings.sh | ||
| update-cpm.sh | ||
| update-icons.sh | ||
README.md
Tools
Tools for Eden and other subprojects.
Third-Party
Eden
generate_converters.py: Generates converters for given formats of textures (C++ helper).svc_generator.py: Generates the filessrc/core/hle/kernel/svc.cppandsrc/core/hle/kernel/svc.hbased off prototypes.shellcheck.sh: Ensure POSIX compliance (and syntax sanity) for all tools in this directory and subdirectories.llvmpipe-run.sh: Sets environment variables needed to run any command (or Eden) with llvmpipe.optimize-assets.sh: Optimizes PNG assets with OptiPng.update-cpm.sh: Updates CPM.cmake to the latest version.update-icons.sh: Rebuild all icons (macOS, Windows, bitmaps) based on the master SVG file (dist/dev.eden_emu.eden.svg)- Also optimizes the master SVG
- Requires:
png2icns(libicns), ImageMagick,svgo
dtrace-tool.shlanczos-gen.pl: Generates constants for the Lanczos filter.clang-format.sh: Runsclang-formaton the entire codebase.- Requires: clang
find-unused-strings.sh: Find any unused strings in the Android app (XML -> Kotlin).
Android
It's recommended to run these scritps after almost any Android change, as they are relatively fast and important both for APK bloat and CI.
unused-strings.sh: Finds unused strings instrings.xmlfiles.stale-translations.sh: Finds translated strings that aren't present in the sourcestrings.xmlfile.