Skip to content

Update fpm.toml to link fortfront static library #72

@krystophny

Description

@krystophny

Status: fmp Dependency Management Already Complete

The fmp.toml is already correctly configured with fortfront dependency. fmp automatically handles all build complexity.

Current Configuration (No Changes Needed)

# fmp.toml (CURRENT STATE)
[dependencies]
fortfront = { path = "../fortfront" }
stdlib = "*"

What fmp Automatically Provides

  • Automatic Dependency Resolution: fmp resolves fortfront from local path
  • Static Linking: fmp handles all linking automatically
  • Build Management: Single fpm build command produces static executable
  • Zero Configuration: No manual build setup required

Misconception Corrected

This issue was based on the incorrect assumption that manual static linking configuration was needed. fpm's dependency management system handles this automatically when fortfront is listed in dependencies.

Verification That It Works

# Current build works with zero configuration
fpm build           # Builds fluff with fortfront automatically linked
fpm test            # Runs tests with fortfront integration

Required Actions

  1. Update documentation to reflect fpm's automatic dependency management
  2. Remove references to manual linking complexity from roadmap
  3. Focus on API usage patterns rather than build configuration

Definition of Done

  • fmp.toml already has fortfront dependency configured
  • Build system automatically handles static linking
  • Documentation updated to reflect fmp's capabilities
  • Remove manual linking references from other issues
  • Update roadmap to focus on API rather than build complexity

Dependencies

Notes

This clarifies that fmp elegantly handles the fortfront dependency automatically. No manual build configuration is needed - this significantly simplifies the development workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions