Skip to content

Improve Free Pascal Compiler (thus Pascal language) support #7224

@lebao3105

Description

@lebao3105

Is your feature request related to a problem? Please describe.

Current XMake only supports setting properties related to linking:

  • Link directories
  • Strip
  • Syslinks
  • Optimization level

compile_commands.json isn't get updated, even with plugin.compile_commands.autoupdate rule used not required by LSPs for now

While FPC, the compiler that XMake supports, can also:

  • Add include (equals to C's header) + unit (which has both interface and implementation in one file) paths
  • (Un)define symbols
  • Use another dialect (Objective Pascal, ISO Pascal etc)
  • Verbosity levels

Describe the solution you'd like

#7220 is on the works and should add most of the things that are most needed (thus mentioned above?)

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions