Menu

#147 'Add file(s)' doesn't account for all generated files for all target's compilers

Next_Nightly
applied
None
Patch
2016-01-30
2015-03-04
scarphin
No

When files are added to the project, generated files for all target's compilers are not added to the project. A very simple patch to fix this is attached.

1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2015-03-04

    Can you describe the steps needed to reproduce the problem?

     
  • scarphin

    scarphin - 2015-03-04

    I'll try to be generic:
    1- Create a custom extension say 'ext' for compilers say 'compA' and 'compB' in advanced compiler options.
    2- Enter different generated files for each say 'gfileA' for 'compA' and 'gfileB' for 'compB' for extension 'ext'
    3- Create a project with 2 targets say 'tgt1' and 'tgt2' using the compiler 'compA'
    4- Assign the compiler 'compB' to 'tgt2'
    5- Add a file with extension 'ext' to the project

    Only 'gfileA' will be added under generated files where both 'gfileA' and 'gfileB' should be added.

     
  • Morten MacFly

    Morten MacFly - 2015-05-01
    • assigned_to: Morten MacFly
     
  • Morten MacFly

    Morten MacFly - 2015-05-01

    Are you aware of this:
    http://forums.codeblocks.org/index.php/topic,20043.0.html
    ?

    It may address the same issue and is a candidate to be applied.

     
  • Morten MacFly

    Morten MacFly - 2015-11-15
    • status: open --> applied
     
  • Morten MacFly

    Morten MacFly - 2015-11-15

    Applid in SVN. Thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.