Content originally posted in LPCWare by Xevel on Sun Mar 22 10:16:30 MST 2015
Strange.
The problem happens regardless of the folder (if I clone the repo again somewhere else it will behave the same, and using the folder you attached to a previous reply does the same).
Switching from debug to release changes the .cproject file, it's not a case of the program not being able to modify it.
Attached are the .cproject files:
- at the begining (1.cproject : Debug configuration when the libraries are ordered in the right way and it compiles)
- after changing to Release configuration (2.cproject). You can see that the file changed, the order of libraries changed as well as the nodes in the relevant listOptionValue XML beacon that now has an additional "srcPrefixMapping="" srcRootPath="" "
- after switching back to Debug, everything is back to the first state except for the library order.
Please check if these modifications happen on your side. To me, they all seem like they should not exist: I don't see why switching the current configuration should add or remove elements to the project description - but I'm new to that particular platform. In any other IDE I have used, the project descriptor holds the values for both cases, and another local file tells which one is the one currently in use, as well as all the parameters that change from one instance of the project to the other.
EDIT: I should add that the last step, to go back from 3 to 1, is to change the order of the libraries, which not only reorders the libraries but removes the "srcPrefixMapping="" srcRootPath="" " that appeared between 1 and 2, leaving a file exactly identical to 1 (diff doesn't return any differences)