cmake: win: Remove cef_sandbox.lib linking (see #3824)

- Repurpose USE_SANDBOX config to enable the bootstrap.
- Build appname.dll instead of appname.exe.
- Copy bootstrap[c].exe to appname.exe as a post-build step.
This commit is contained in:
Marshall Greenblatt
2025-05-13 16:51:20 -04:00
parent c302f285c7
commit 572c44bc2e
5 changed files with 98 additions and 86 deletions

View File

@ -36,11 +36,7 @@ macro(PRINT_CEF_CONFIG)
message(STATUS "CEF sandbox: ${USE_SANDBOX}")
set(_libraries ${CEF_STANDARD_LIBS})
if(OS_WINDOWS AND USE_SANDBOX)
list(APPEND _libraries ${CEF_SANDBOX_STANDARD_LIBS})
endif()
message(STATUS "Standard libraries: ${_libraries}")
message(STATUS "Standard libraries: ${CEF_STANDARD_LIBS}")
message(STATUS "Compile defines: ${CEF_COMPILER_DEFINES}")
message(STATUS "Compile defines (Debug): ${CEF_COMPILER_DEFINES_DEBUG}")