To create a library, create a Library document (.gcomp) and add source files to the document.
-
Create a new Library document.
-
Click .
-
In the Create Library dialog box, enter values in Library name and Namespace.
-
Click OK.
-
Save the Library document.
-
Add source files to the Library document in one of the following ways:
-
Create files under the project and drag the files from the Project Files tab to the Library document.
-
In the Library document, click on the document toolbar and select the type of file to create.
-
In the Library document, click on the document toolbar and select files on disk to copy to the Library document.
-
For each item in the Library document, configure the build options as needed.
-
Enable Export if you want to allow a source file to be called from other applications or libraries. Disable Export for internal source files.
-
Enable Always include if you want to include a support file, such as a text, image, or audio file, when you share the library.
-
Click .