diff options
author | Orangerot <purple@orangerot.dev> | 2024-12-16 16:04:07 +0100 |
---|---|---|
committer | Orangerot <purple@orangerot.dev> | 2024-12-17 09:08:55 +0100 |
commit | 08f2adb6397557ac27cf3780aa8f8222cbc51982 (patch) | |
tree | f9ee48a8f120e9bcb93f6f172fd88a89f3d45372 /linux/flutter/generated_plugins.cmake |
Initial Commit
Diffstat (limited to 'linux/flutter/generated_plugins.cmake')
-rw-r--r-- | linux/flutter/generated_plugins.cmake | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake new file mode 100644 index 0000000..2e1de87 --- /dev/null +++ b/linux/flutter/generated_plugins.cmake @@ -0,0 +1,23 @@ +# +# Generated file, do not edit. +# + +list(APPEND FLUTTER_PLUGIN_LIST +) + +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) |