Author Topic: .def & import library names  (Read 19329 times)

Offline thedmd

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: .def & import library names
« Reply #30 on: February 24, 2010, 01:36:08 pm »
Done. Patch can be found here.

Two new fileds were added with following default values:
Import library filename:
Definition file filename:

One macro has been added: $(TARGET_OUTPUT_FILENAME) which is filename with extension but without path. Use this in above fields to obtain "old" behaviour (from foobar.dll you will got libfoobar.dll.a).

A word of comment. Current C::B build system is working but it is messy. Several features are implemented more than once in various places, for example adding prefixes and extensions. It is a perfect candidate for refactoring.

"God starts from scratch too"