Reputation: 35219
I have a body of code that's best packaged up as a library. How do I create a library in Atmel Studio 7?
Upvotes: 1
Views: 4115
Reputation: 35219
Assume you have a specialized bit of hardware named "frob" for which you've created support code and you want to create a library that other programs can link against.
Debug/libfrob.a
or Release/libfrob.a
.To link a project against this library:
libfrob.a
-u _fstat
-u _read
-u _write
You now should be able to compile your project, linking against the files in the frob library.
Upvotes: 3