4 changed files with 3 additions and 62 deletions
@ -1,16 +0,0 @@ |
|||||||
//
|
|
||||||
// Generated file. Do not edit.
|
|
||||||
//
|
|
||||||
|
|
||||||
// clang-format off
|
|
||||||
|
|
||||||
#include <flutter/application.h> |
|
||||||
#include <package_info_plus_aurora/package_info_plus_aurora_plugin.h> |
|
||||||
|
|
||||||
#include "generated_plugin_registrant.h" |
|
||||||
|
|
||||||
void RegisterPlugins() { |
|
||||||
Application::RegisterPlugins({ |
|
||||||
std::make_shared<PackageInfoPlusAuroraPlugin>(), |
|
||||||
}); |
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
//
|
|
||||||
// Generated file. Do not edit.
|
|
||||||
//
|
|
||||||
|
|
||||||
// clang-format off
|
|
||||||
|
|
||||||
#ifndef GENERATED_PLUGIN_REGISTRANT |
|
||||||
#define GENERATED_PLUGIN_REGISTRANT |
|
||||||
|
|
||||||
void RegisterPlugins(); |
|
||||||
|
|
||||||
#endif /* GENERATED_PLUGIN_REGISTRANT */ |
|
@ -1,34 +0,0 @@ |
|||||||
# |
|
||||||
# Generated file, do not edit. |
|
||||||
# |
|
||||||
set(ROOT_PROJECT_BINARY_DIR "${PROJECT_BINARY_DIR}") |
|
||||||
|
|
||||||
function(add_library TARGET) |
|
||||||
_add_library(${TARGET} ${ARGN}) |
|
||||||
|
|
||||||
if ( |
|
||||||
"${TARGET}" MATCHES "^package_info_plus_aurora_platform_plugin$" OR |
|
||||||
FALSE |
|
||||||
) |
|
||||||
add_custom_command(TARGET ${TARGET} POST_BUILD |
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy |
|
||||||
"$<TARGET_FILE:${TARGET}>" |
|
||||||
"${ROOT_PROJECT_BINARY_DIR}/bundle/lib/$<TARGET_FILE_NAME:${TARGET}>") |
|
||||||
endif() |
|
||||||
endfunction() |
|
||||||
|
|
||||||
list(APPEND FLUTTER_PLATFORM_PLUGIN_LIST |
|
||||||
package_info_plus_aurora |
|
||||||
) |
|
||||||
|
|
||||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST |
|
||||||
) |
|
||||||
|
|
||||||
foreach(PLUGIN ${FLUTTER_PLATFORM_PLUGIN_LIST}) |
|
||||||
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${PLUGIN}/aurora plugins/${PLUGIN}) |
|
||||||
target_link_libraries(${BINARY_NAME} PRIVATE ${PLUGIN}_platform_plugin) |
|
||||||
endforeach(PLUGIN) |
|
||||||
|
|
||||||
foreach(FFI_PLUGIN ${FLUTTER_FFI_PLUGIN_LIST}) |
|
||||||
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${FFI_PLUGIN}/aurora plugins/${FFI_PLUGIN}) |
|
||||||
endforeach(FFI_PLUGIN) |
|
Loading…
Reference in new issue