mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-04 20:52:23 +01:00
Drop desktop_multi_window entirely; unify macOS + Windows on multi_window_native. Windows runner re-gets the CreateNewWindow / CloseWindow / SetMainWindowMethodHandler plumbing with selective sub-engine registration (only WindowManagerPlugin + MultiWindowNativePlugin) to avoid the deadlock caused by full RegisterPlugins on secondary engines. macOS MainFlutterWindow narrows onEngineCreatedCallback from RegisterGeneratedPlugins to the same two plugins for consistency. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
1007 B
CMake
36 lines
1007 B
CMake
#
|
|
# Generated file, do not edit.
|
|
#
|
|
|
|
list(APPEND FLUTTER_PLUGIN_LIST
|
|
bluetooth_low_energy_linux
|
|
file_selector_linux
|
|
flutter_screen_capture
|
|
flutter_secure_storage_linux
|
|
flutter_volume_controller
|
|
gamepads_linux
|
|
gtk
|
|
media_key_detector_linux
|
|
screen_retriever_linux
|
|
url_launcher_linux
|
|
window_manager
|
|
yaru_window_linux
|
|
)
|
|
|
|
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
|
)
|
|
|
|
set(PLUGIN_BUNDLED_LIBRARIES)
|
|
|
|
foreach(plugin ${FLUTTER_PLUGIN_LIST})
|
|
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
|
|
target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
|
|
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
|
|
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
|
|
endforeach(plugin)
|
|
|
|
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
|
|
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
|
|
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
|
|
endforeach(ffi_plugin)
|