To link to a library that gets built with your project
You can define a library and its source files so that the library gets rebuilt every time you start a build.
If the library is hierarchically lower than a program or subproject, the library will inherit settings from the parent program or subproject. However, the library's source files get built into the library, not into the parent program.
- Double-click the build file that will contain the new library.
- Click Add (
).
- In the file chooser, select a directory and enter the name of the build file for the new library. Make sure your library's build file has a .bld extension. Normally, your library's build file is located in the same directory as the library's source file, and the name of the build file is the same name as the library, but with a .bld extension.
- Click Add.
- Highlight the new library.
- Choose Project > Options for Selected Files... .
- On the General tab, set the Type: field to Library.
- Double-click the new library.
- Add source files for the new library.
Related topic:
Copyright © 1999, Green Hills Software. All rights
reserved.