Skip to content

DirtYiCE/penumbrabuild

Repository files navigation

README

PenumbraOverture build script using waf.

Requirements

Build

Configure with

./waf configure

If you have headers/libraries in non standard location, you have to specify them here. For example on my Gentoo box I need this to find Cg:

CXXFLAGS=-I/opt/nvidia-cg-toolkit/include \
  LDFLAGS=-L/opt/nvidia-cg-toolkit/lib    \
  ./waf configure

Build with

./waf

This will build PenumbraOverture and all tests and tools (except the C# ones). To only build penumbra, use

./waf --targets=penumbraoverture

Please note that by default this build script build shared libraries. This means that to run a compiled app, you need to specify LD_LIBRARY_PATH to point to the build directory. Assuming $PENUMBRABUILD contains the location of the repository, you can run penumbra like:

$ cd /path/to/PenumbraOverture
$ LD_LIBRARY_PATH=$PENUMBRABUILD/build $PENUMBRABUILD/build/penumbraoverture

(Similary for tools and test)

There is also a Doxyfile, if you want a nice Doxygen documentation (although, the code is not really documented).

About

Build script for PenumbraOverture using waf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages