View unanswered posts | View active topics It is currently Mon Sep 24, 2018 6:57 am



Reply to topic  [ 2 posts ] 
 How do I make my own libraries? 
Author Message
User avatar

Joined: Fri Aug 31, 2018 2:15 pm
Posts: 1
Hello! I am a recovering C# coder who's spent far too long in Visual Studio where this is quite easy to do.

Suppose I have a folder full of C source and appropriate headers (they can go in an "includes" folder if that makes life easier), how do I turn it into a static library that I can link against in my projects?

Do I have to make my own Makefile, or has the devkitPro one (for the 3DS, if that matters) got a special "compile this as a library" option in it somewhere?

It's been so long since I did this...


Fri Aug 31, 2018 3:11 pm
Profile

Joined: Mon Jul 12, 2010 9:45 pm
Posts: 31
We have a project template for 3DS libraries, check it out:

https://github.com/devkitPro/3ds-exampl ... es/library

_________________
My blog


Fri Aug 31, 2018 4:17 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads