Menu

#146 Attemp to fix the issue of generated files for different compilers are assigned to all targets

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

When 2 different compilers have different generated files for the same extension and if they are used for different targets in the same project, generated files are assigned to all targets regardless of which target's compiler generates them. Attached patch tries to fix the issue.

1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2015-03-04

    Same here, please post detailed steps 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 and close and reload the project because of the bug in ticket 147
    6- Check what targets are assinged to both generated files

    Both generated files 'gfileA' and 'gfileB' are assigned to both targets 'tgt1' and 'tgt2' where 'gfileA' should be assigned to only 'tgt1' and 'gfileB' should be assigned to only 'tgt2'.

     
  • Morten MacFly

    Morten MacFly - 2015-05-01

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

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

     
  • Morten MacFly

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

    Morten MacFly - 2015-11-15

    Is this ticket still valid? Or is it superseded by the qtSupport patch? It seems not included.

     
  • scarphin

    scarphin - 2015-11-19

    No more valid.

     
  • Morten MacFly

    Morten MacFly - 2015-11-20
    • status: open --> invalid
     
  • Morten MacFly

    Morten MacFly - 2015-11-20

    Closed after feedback here: http://forums.codeblocks.org/index.php/topic,20043.msg141201.html#msg141201

     

Log in to post a comment.