Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
active target setting
MortenMacFly:
--- Quote from: killerbot on November 27, 2005, 05:04:23 pm ---I think it stores it in the ncb or suo files, which are unreadable :-(
--- End quote ---
These files are usually not provided with project sources. So selecting the target seems to be up to the develper who wants to compile the project.Thus the IDE provides the "intelligence" via the target selection mechanism. If you think of "Release/Debug" as targets or similar meanings then this makes sense (on second thoughts)...
...which was a very long sentense for: I agree. :P
Morten.
killerbot:
I noticed that Yiannis recently implemented this. Thanks.
But it seems there might be a little ptoblem.
It is stored in the layout file like this :
<CodeBlocks_layout_file>
<ActiveTarget index="0" />
</CodeBlocks_layout_file>
index starts from 0.
But when you change it , the layout gets updated, so that's ok.
Now close the poject and reopen it, and take a look at the target selection drop down list at the toolbars.
In my case that one always is on all.
Should that not be in sync with the value from the layout file ??
Cheers,
Lieven
mandrav:
Thanks Lieven, just fixed it (rev. 1467).
killerbot:
juist build and tested.
I can confirm it works now.
consider this thread as closed.
Navigation
[0] Message Index
[*] Previous page
Go to full version