Skip to content

allow 'cflags' on all levels (class, classes, common, shared) #65

@Spacechild1

Description

@Spacechild1

It would be nice if 'cflags' can be defined on every level in addition to the global 'cflags':

  • <classname>.class.cflags (applies to all sources for the given Pd class)
  • common.cflags (applies to the static library)
  • shared.cflags (applies to the shared library)

For an easy way to set the cflags for a single object file, see #65 (comment))

Use cases:

  • control compile time configurations (debug levels, default values, enable/disable features)
  • DLL export/import macros
  • pass different language specific compiler options (C vs. C++)
  • ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions