3.3.3.2 Create a New Library Project
- Create a new project by selecting
New Project from the Project menu,
which will open the Project Wizard.
Figure 3-34. New XC8 Library Project - Select
C/C++→XC8 C Library Project as a
template, specify a project name, select a location, and provide a solution name. A
source file with an empty
myfunc()
function will be added to the project by default. Press OK to proceed. - A device selection dialog will appear. Choose the appropriate target device for your
project.
Figure 3-35. Device Selection Dialog - Click OK to create the XC8 C Library project.
- Right click on the project node and select ‘Build’ to build the project.