Author Topic: Dependencies are lost when the project is changed outside C::B  (Read 4375 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Dependencies are lost when the project is changed outside C::B
« on: December 30, 2010, 10:22:52 pm »
Tested with C::B r6900 debuggers branch.

Steps to reproduce:
1. Create 2 projects and setup the dependencies (Project -> Properties -> First tab -> Project Dependencies).
2. Edit the project that depends on another project in external editor
3. C::B asks if you want to reload the project - choose all
4. Check the dependencies - they are missing :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Dependencies are lost when the project is changed outside C::B
« Reply #1 on: February 17, 2011, 02:44:43 pm »
OK, I've found some time to fix this problem and here is the patch: http://smrt.is-a-geek.org/codeblocks/patches/reload_deps_pos.patch

Please test it and report if there are problems. Also suggestions for improvements are welcomed.

The ABI/API is changed, so when committing (and if) please increase the SDK versions...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]