This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to Building a Library?

I am new to using Eclipse and CCS so I need some help in learning how to build a library from a set of source files.

My current setup now has all the source files in a single directory.  What I want to do is to separate some source files and put them into a different directory, and build them as a static library that will be linked back with the rest of the code.

Any help would be appreciated,

--Joe

  • Hi Joe,

    To create a Library, you need to specify the Output Type of your project as a library. Note that you can only set the output type when creating a new project. Once you create the project, you cannot switch it back

    Now you can add your source files to the project. You can add or link files to the project. If you are going to have your source files outside the main project folder in different directories, you may want to link them:

    Thanks

    ki

  • Thanks KI for your great help. I am able to build the library now.

    --Joe