Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: CCS Rebuilding Static Library

$
0
0

[quote user="jan stevens"]

The only settings I've ever changed when adding a new project from existing source:
Build/MSP430 Compiler/Include Options. I then select my static library
Build/Dependencies. I then add my static library
In the Ink_cc430f5135.cmd I add the location of the lib file of my static library (right under the -l cc430f5135.cmd)

[/quote]

Do you have two references to the same library (one in build properties and one in the cmd file)? I would suggest just referring to it once in the build properties. You can set libraries and library search paths there.

[quote user="jan stevens"]That's it, I hit build or debug. I now notice that when I build a project two times (with the dependencies active) the static library is not rebuild from scratch. It only happens when I debug the application. The complete library is rebuild. I never changed any setting in CCS.[/quote]

That is interesting. The 'Debug' button should simply be the same as 'Build' with the exception that it will then launch the debugger afterwards. I'm surprised you see a difference. The project is getting cleaned on a debug it seems. This gives me more info to work on...


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>