Browse Source
[cmake] refactor: cpmfile, deps prefetch, force system and more
[cmake] refactor: cpmfile, deps prefetch, force system and more
This is a (currently) very WIP PR that basically completely refactors the CPM system for the third time. Dependencies are now managed in a singular json file, where each can be properly prefetched at-will via a script I'll add eventually. For the time being, this is super incomplete and I have to go to class. Once I'm back I'll keep working on it. Signed-off-by: crueter <crueter@eden-emu.dev>pull/322/head
5 changed files with 191 additions and 57 deletions
-
139CMakeModules/CPMUtil.cmake
-
45cpmfile.json
-
57externals/CMakeLists.txt
-
4src/dynarmic/externals/CMakeLists.txt
-
3src/yuzu/externals/CMakeLists.txt
@ -0,0 +1,45 @@ |
|||
{ |
|||
"mbedtls": { |
|||
"repo": "Mbed-TLS/mbedtls", |
|||
"sha": "8c88150ca1", |
|||
"hash": "769ad1e94c570671071e1f2a5c0f1027e0bf6bcdd1a80ea8ac970f2c86bc45ce4e31aa88d6d8110fc1bed1de81c48bc624df1b38a26f8b340a44e109d784a966", |
|||
"patches": [ |
|||
"0001-cmake-version.patch" |
|||
] |
|||
}, |
|||
"spirv-headers": { |
|||
"package": "SPIRV-Headers", |
|||
"repo": "KhronosGroup/SPIRV-Headers", |
|||
"sha": "4e209d3d7e", |
|||
"hash": "f48bbe18341ed55ea0fe280dbbbc0a44bf222278de6e716e143ca1e95ca320b06d4d23d6583fbf8d03e1428f3dac8fa00e5b82ddcd6b425e6236d85af09550a4" |
|||
}, |
|||
"sirit": { |
|||
"repo": "eden-emulator/sirit", |
|||
"sha": "db1f1e8ab5", |
|||
"hash": "73eb3a042848c63a10656545797e85f40d142009dfb7827384548a385e1e28e1ac72f42b25924ce530d58275f8638554281e884d72f9c7aaf4ed08690a414b05", |
|||
"options": [ |
|||
"SIRIT_USE_SYSTEM_SPIRV_HEADERS ON" |
|||
] |
|||
}, |
|||
"httplib": { |
|||
"repo": "yhirose/cpp-httplib", |
|||
"sha": "a609330e4c", |
|||
"hash": "dd3fd0572f8367d8549e1319fd98368b3e75801a293b0c3ac9b4adb806473a4506a484b3d389dc5bee5acc460cb90af7a20e5df705a1696b56496b30b9ce7ed2" |
|||
}, |
|||
"cpp-jwt": { |
|||
"version": "1.4", |
|||
"repo": "arun11299/cpp-jwt", |
|||
"sha": "a54fa08a3b", |
|||
"hash": "a90f7e594ada0c7e49d5ff9211c71097534e7742a8e44bf0851b0362642a7271d53f5d83d04eeaae2bad17ef3f35e09e6818434d8eaefa038f3d1f7359d0969a", |
|||
"find_args": "CONFIG", |
|||
"options": [ |
|||
"CPP_JWT_BUILD_EXAMPLES OFF", |
|||
"CPP_JWT_BUILD_TESTS OFF", |
|||
"CPP_JWT_USE_VENDORED_NLOHMANN_JSON OFF" |
|||
], |
|||
"patches": [ |
|||
"0001-no-install.patch", |
|||
"0002-missing-decl.patch" |
|||
] |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue