This project contains a CPack build workspace of the libfreenect2. This project is created to simplify the deployment of the library as a Debian package.
- Initialize the submodule and pull the latest commits.
$ git submodule update --init --recursive
- Modify the CPack configuration in the CMakeLists.txt according to the current source code information.
See this guide for more information on CPack configuration for Debian package.
- Create a build directory and move to it.
$ mkdir build $ cd build
- Configure CMake with the following options.
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
- Build the project.
$ make
Optionally, you could speed up the build process by specifying the parallel job using
-j
option, see this. - Build Debian packages.
$ make package
This project is maintained by Alfi Maulana and licensed under the MIT LICENSE