AnyPS5/core/relinker
boykopovar c7fb2575a3
Merge pull request #208 from boykopovar/refactor/split-libs-tests-cmake
Refactor/split libs tests cmake
- Moved test inclusions from `core/libs/CMakeLists.txt` to local library CMakeLists.txt files.
- Created CMakeLists.txt files for `libSceSystemService, libSceContentExport, libSceNet, libSceNetCtl, libSceRandom, libSceRtc, libSceJson2, and libSceFiber`.
- The shared libSceNet/libSceNetCtl test is included in libSceNet.
- Added the shared function add_test_executable for hosting test executables.
- Added add_png_decoder(target runtimeTarget) and add_jpeg_decoder(target runtimeTarget). The runtimeTarget parameter is required; libc is currently passed. A non-existent target causes a CMake error. - The decoder is used by the PRX libraries, meaning exceptions from there should be thrown through our libc.prx.

Changed file locations relative to the build folder (previously they were stored in core/libs):
- tests/ - all test executables
- `core/libs/libs/implib/` - PRX import libraries (*.dll.a)

The number of tests found has not changed (88)
2026-10-01 12:55:05 +03:00
..
cli feat(relinker): exclude single sce_module files, tolerate a zero code tail 2026-09-29 21:22:11 +03:00
codegen feat(relinker): lower MONITORX and MWAITX for --to-intel 2026-10-01 10:35:23 +02:00
domain/include/domain fix(relinker): resolve guest dependencies and lifecycle arrays 2026-10-01 11:57:13 +03:00
elfpatcher fix(relinker): resolve guest dependencies and lifecycle arrays 2026-10-01 11:57:13 +03:00
io fix(relinker): reject overflowing buffer offsets 2026-09-30 18:07:26 +02:00
relinker fix(relinker): resolve guest dependencies and lifecycle arrays 2026-10-01 11:57:13 +03:00
CMakeLists.txt refactor(cmake): place all test executables in build tests directory 2026-10-01 12:28:06 +03:00
main.cpp feat(relinker): exclude single sce_module files, tolerate a zero code tail 2026-09-29 21:22:11 +03:00