Table Of Contents

Creating a Library

Last Modified: August 7, 2018

To create a library, create a Library document (.gcomp) and add source files to the document.

  1. Create a new Library document.
    1. Click File»New»Library.
    2. In the Create Library dialog box, enter values in Library name and Namespace.
    3. Click OK.
  2. 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 New on the document toolbar and select the type of file to create.
    • In the Library document, click New»Import files on the document toolbar and select files on disk to copy to the Library document.
  3. 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.
    • Enable Always include if you want to include a support file, such as a text, image, or audio file, when you share the library.
  4. Click File»Save all to save all files.

Recently Viewed Topics