I came up with the idea to supply a script that automatically installs needed dependencies to build our project. It would automatically fetch packages via apt-get or yum and installs them correctly depending on the used operating system.
Example for my Ubuntu 14.04 LTS machine it would look similar to this:
apt-get -y build-essential
apt-get -y cmake
apt-get -y libboost-all-dev
# ... other needed dependencies or configurations.
Depending on the OS version it performs different things (i.e. Ubuntu 12 doesn't have Boost >= 1.5 in it's repos, but it should work if you install it manually. You can use wget for this to download and then unpack the archive). It can also ask you if you want to install optional components (like doxygen etc.).
Then if you want to build CE3D you just
git clone https://github.com/Makman2/CE3D.git
cd CE3D
./buildready
# And start build!
make release # or any other target...
That saves time for configuring the machine and nobody needs to spend much time to search for the right packages.
I came up with the idea to supply a script that automatically installs needed dependencies to build our project. It would automatically fetch packages via
apt-get
oryum
and installs them correctly depending on the used operating system. Example for my Ubuntu 14.04 LTS machine it would look similar to this:Depending on the OS version it performs different things (i.e. Ubuntu 12 doesn't have Boost >= 1.5 in it's repos, but it should work if you install it manually. You can use
wget
for this to download and then unpack the archive). It can also ask you if you want to install optional components (like doxygen etc.). Then if you want to build CE3D you justThat saves time for configuring the machine and nobody needs to spend much time to search for the right packages.