Given a set of objects with sizes and an integer K, can the objects be placed into K subsets of fixed size?
- C++ compiler
- Autoconf
- Automake
- Libtool
-
In order to compile for installation:
autoreconf -ivf cd build ../configure --prefix="$(pwd)/install" # Change path here make make install # or sudo make install # Executable can be found in $(projdir)/build/install/bin -
Or just compile in genereral:
autoreconf -ivf cd build ../configure make # Executable can be found in $(projdir)/build/src/bin -
Run the Gtest tests with
autoreconf -ivf ./configure make check -
After successfull configuration, doxygen can be generated by running make on the right docs folder
cd $(projdir)/docs make # or cd $(projdir)/build/docs make
# There is a dependency on where the bin looks for the input files
# Thus the binary has to be run from the src/ folder.
cd $(projdir)/src
./main
Gtest+Autotools project setup was extracted from minimal-gtest-autotools.
Nicolas Agostini n.b.agostini@gmail.com Matan Kaminski kaminski.ma@husky.neu.edu Jan 2017