-- Build files have been written to: ... your build dir path ...
$
```
The exact output will depend on your system, compiler and build directory
location, but you should not see any errors.
CMake will generate Makefiles by default on UNIX platforms, so to build, simply
run `make` in the build directory:
```
$ make
... verbose output ...
[100%] Built target Laura++
...
$ make install
Install the project...
... verbose output ...
$
```
Again, the exact output will be system specific, but you should see the
`Laura++` target built without error and that the installation was successful.
## Examples and documentation
Example code is included in the examples directory.
To enable the building and installation of the example executables you need to
supply the following option when running `cmake`:
```
-DLAURA_BUILD_EXAMPLES=ON
```
After building and installing, the example executables will be in the `bin`
directory in the install location.
To build the Doxygen documentation you need to supply the following option when
running `cmake`:
```
-DLAURA_BUILD_DOCS=ON
```
After building and installing, you can load the
`share/doc/Laura++/html/index.html` file (found in the install location) into
your web browser.
## Building your own code
If you wish to build your own code that uses the Laura++ library you should add the Laura++ installation area to the `CMAKE_PREFIX_PATH` environment variable.
You can then add lines like the following to your own `CMakeLists.txt` file:
```cmake
-# Find ROOT and Laura++
+# Find Laura++ - all dependencies will automatically be searched for as well