Creating a Library
- Updated2023-02-17
- 1 minute(s) read
Creating a Library
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 or source files, such as .gvis or .gtypes, when you share the library.
- On the Document tab, enter information about your library in the Details section.
- Click .