Opened 13 years ago

Closed 12 years ago

#24 closed task (fixed)

Preserve source order in the object order / Implement generic source -> object transformation

Reported by: bird Owned by: bird
Priority: major Milestone: 0.1.3
Component: kBuild Version: 0.1.0
Keywords: Cc:

Description

The SOURCES should be processed in $(foreach src,$($(target)_SOURCES),dostuff) fashion instead of the way it's currently done (type by type). It should further be extendable to include custom source transformations and handle things like rule execution order in a generic way (e.g. make sure headers are generated before trying to compile anything).

Change History (2)

comment:1 Changed 12 years ago by bird

  • Milestone changed from 0.1.1 release to 0.1.3

comment:2 Changed 12 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

Added a global KBUILD_SRC_HANDLERS var and a target/source SRC_HANDLERS property for tracking handlers. The property isn't build target is NOT subject to keywords in the current implementation. The SRC_HANDLERS are lists of .suffix:handler_var_name. When encountering the suffix the handler is invoked.

Note: See TracTickets for help on using tickets.