Go to the first, previous, next, last section, table of contents.


Specifying the resources directory

It is common to want to try the tests before you have installed the library in its default place. libFoundation however requires to have access to the resource files to function correctly. You can install only the resources in the installation directory, but there is a more convenient way to let the library where are its resources. You can specify an environment variable that indicates where is the resource directory; the name of this variable is LIB_FOUNDATION_RESOURCES_PATH and it should indicate the Resources directory. In a sh-like shell for example, you can do:

LIB_FOUNDATION_RESOURCES_PATH=/home/ovidiu\
        /libFoundation-0.9.0/libFoundation/Resources
export LIB_FOUNDATION_RESOURCES_PATH

This environment variable is similar with the PATH variable: you can specify more directories by separating them using : character. Specifying resource directories this way takes precedence over the default installation directory. You can use this to change the resources if you want.


Go to the first, previous, next, last section, table of contents.