Skip to content

[Feature] refactor build.rs to use CMake-generated dependency list #182

@davidbits

Description

@davidbits

Currently, packages/fers-ui/src-tauri/build.rs maintains a hardcoded list of static libraries (vcpkg_libs) to link against.

This approach is fragile: if we update vcpkg.json or change our C++ dependencies, we have to remember to manually update this list in the Rust build script.

To create a single source of truth for our dependencies, we should:

  1. Update the main CMake build to generate a file (e.g., vcpkg_links.txt) that contains the full paths to all required static libraries.
  2. Update build.rs to read this generated file instead of relying on the hardcoded array.

Metadata

Metadata

Assignees

Labels

scope: build-ciRelated to the build process, CMake, or GitHub Actions.type: enhancementA new feature or a request for an improvement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions