Open
Description
After some investigation, the most stable way to get those dependencies I could find is "grep" on the output of cmake cli output.
cmake can print its trace in json format(--trace-format=json-v1 --trace-expand
), but the output still hard to use:
{
"args": [
"STATUS",
"CEF Binary files: chrome_elf.dll;d3dcompiler_47.dll;libcef.dll;libEGL.dll;libGLESv2.dll;snapshot_blob.bin;v8_context_snapshot.bin;vk_swiftshader.dll;vk_swiftshader_icd.json;vulkan-1.dll;dxil.dll;dxcompiler.dll"
],
"cmd": "message",
"file": "D:/cef/windows/archive_windows_x86_64/cmake/cef_macros.cmake",
"frame": 2,
"global_frame": 2,
"line": 62,
"time": 1737627651.4411716
}
{
"args": [
"STATUS",
"CEF Resource files: chrome_100_percent.pak;chrome_200_percent.pak;resources.pak;icudtl.dat;locales"
],
"cmd": "message",
"file": "D:/cef/windows/archive_windows_x86_64/cmake/cef_macros.cmake",
"frame": 2,
"global_frame": 2,
"line": 63,
"time": 1737627651.4411716
}
while the cli output is easy to "grep":
-- Standard libraries: comctl32.lib;gdi32.lib;rpcrt4.lib;shlwapi.lib;ws2_32.lib;Advapi32.lib;dbghelp.lib;Delayimp.lib;ntdll.lib;OleAut32.lib;PowrProf.lib;Propsys.lib;psapi.lib;SetupAPI.lib;Shell32.lib;Shcore.lib;Userenv.lib;version.lib;wbemuuid.lib;WindowsApp.lib;winmm.lib
...
-- CEF Binary files: chrome_elf.dll;d3dcompiler_47.dll;libcef.dll;libEGL.dll;libGLESv2.dll;snapshot_blob.bin;v8_context_snapshot.bin;vk_swiftshader.dll;vk_swiftshader_icd.json;vulkan-1.dll;dxil.dll;dxcompiler.dll
-- CEF Resource files: chrome_100_percent.pak;chrome_200_percent.pak;resources.pak;icudtl.dat;locales
Metadata
Assignees
Labels
No labels
Activity