mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 04:24:45 +08:00
update rust_builder
This commit is contained in:
@ -56,8 +56,6 @@ add_subdirectory("runner")
|
||||
# Generated plugin build rules, which manage building the plugins and adding
|
||||
# them to the application.
|
||||
include(flutter/generated_plugins.cmake)
|
||||
include(./rust.cmake)
|
||||
|
||||
# === Installation ===
|
||||
# Support files are copied into place next to the executable, so that it can
|
||||
# run in place. This is done instead of making a separate bundle (as on Linux)
|
||||
|
Submodule windows/corrosion deleted from afb4e2f067
@ -1,13 +0,0 @@
|
||||
# We include Corrosion inline here, but ideally in a project with
|
||||
# many dependencies we would need to install Corrosion on the system.
|
||||
# See instructions on https://github.com/AndrewGaspar/corrosion#cmake-install
|
||||
# Once done, uncomment this line:
|
||||
# find_package(Corrosion REQUIRED)
|
||||
|
||||
add_subdirectory(./corrosion)
|
||||
|
||||
corrosion_import_crate(MANIFEST_PATH ../rust/Cargo.toml IMPORTED_CRATES imported_crates)
|
||||
target_link_libraries(${BINARY_NAME} PRIVATE ${imported_crates})
|
||||
foreach(imported_crate ${imported_crates})
|
||||
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${imported_crate}-shared>)
|
||||
endforeach()
|
Reference in New Issue
Block a user