54 lines (39 with data), 1.3 kB
New CMake based build system
Using the CMake build system under Unix
briefly, do the following:
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
alternatively, you can also do an out of source build, if
you don't want to clutter the hugin source tree with object files etc.
$ cd hugin
$ mkdir mybild
$ cd mybuild
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../
$ make install
Please report any problems to the hugin-ptx group at google:
If cmake failed to pick up some dependencies, make sure you have
installed the corresponding development packages (often named:
libjpeg-dev and so on). If cmake still fails to find the libraries,
for example if you have installed them into a non-standart directory,
you can specify the path to libraries and include files using the
$ cmake .
$ ccmake .
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DWANT_DEBUG=1 ../
CMake supports the DESTDIR variable during make install, this
might be helpful to install into a temporary directory:
$ make install DESTDIR=mytmp_package_dir