mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 17:21:45 +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>
44 lines
1.2 KiB
CMake
44 lines
1.2 KiB
CMake
#
|
|
# Generated file, do not edit.
|
|
#
|
|
|
|
list(APPEND FLUTTER_PLUGIN_LIST
|
|
app_links
|
|
bluetooth_low_energy_windows
|
|
file_selector_windows
|
|
flutter_screen_capture
|
|
flutter_secure_storage_windows
|
|
flutter_volume_controller
|
|
gamepads_windows
|
|
keypress_simulator_windows
|
|
media_key_detector_windows
|
|
multi_window_native
|
|
nsd_windows
|
|
permission_handler_windows
|
|
screen_retriever_windows
|
|
share_plus
|
|
universal_ble
|
|
url_launcher_windows
|
|
window_manager
|
|
windows_iap
|
|
)
|
|
|
|
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
|
flutter_local_notifications_windows
|
|
smtc_windows
|
|
)
|
|
|
|
set(PLUGIN_BUNDLED_LIBRARIES)
|
|
|
|
foreach(plugin ${FLUTTER_PLUGIN_LIST})
|
|
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows 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}/windows plugins/${ffi_plugin})
|
|
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
|
|
endforeach(ffi_plugin)
|