Author Topic: targets with makefiles and multiple outputs  (Read 3711 times)

Offline Yury Benesh (aka ybx)

  • Multiple posting newcomer
  • *
  • Posts: 16
    • http://ybx.narod.ru
targets with makefiles and multiple outputs
« on: August 15, 2006, 10:25:51 am »
To automate the build and to keep dependencies calculated by CB an MS Visual Studio approach to targets is needed, i.e. the ability to specify input files ( it is what we have as sources, it's ok with CB ) and the ability to specify file names that the custom commands produce ( it is what should be added to CB ). I.e. a target can produce not just a library or an exe-file, but it can produce a .CPP and .H for example. ( e.g. BISON/FLEX tools which build a compiler program sources from language description files, and  reswrap tool from FOX toolkit, which embeds graphics etc. data into program by generating byte arrays and producing  .c and .h sources to be compiled with the main program )...

Offline Yury Benesh (aka ybx)

  • Multiple posting newcomer
  • *
  • Posts: 16
    • http://ybx.narod.ru
Re: targets with makefiles and multiple outputs
« Reply #1 on: August 15, 2006, 10:35:21 am »
This additional outputs info can also be used by CLEAN command.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: targets with makefiles and multiple outputs
« Reply #2 on: August 15, 2006, 10:40:59 am »
I think this should be possible with scripting in C::B.
Haven't tried it though...
Be patient!
This bug will be fixed soon...