musrfit/INSTALL
Andreas Suter dbfeeddf3f Remove automake support
Since the cmake tool chain is now stable, the automake tool chain is removed from musrfit.
This makes documentation and code less cluttered.
2019-03-08 12:50:41 +01:00

51 lines
1.7 KiB
Plaintext

#---------------------------------------------------------------------
# INSTALL
#---------------------------------------------------------------------
In the following it is assumed that the system variable ROOTSYS is already
defined and pointing to the place where CERN/ROOT is installed.
#----------------------------------
# Install via cmake tool chain
#----------------------------------
cmake minimal required version is 3.6.
musrfit supports only out-of-source cmake build! Hence, go to the musrfit
directory and
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=$ROOTSYS (or where ever musrfit should be installed)
cmake --build ./ --clean-first
make install (as superuser -- maybe)
/sbin/ldconfig (as superuser)
cmake configuration allows a couple of switches. For details check the user
docu under
http://lmu.web.psi.ch/musrfit/user/MUSR/MusrFitSetup.html
An example with NeXus support and BMWlibs needed would look like this
mkdir build
cd build
cmake ../ -Dnexus=1 -DBMWlibs=1 -DCMAKE_INSTALL_PREFIX=$ROOTSYS
cmake --build ./ --clean-first
make install (as superuser -- maybe)
/sbin/ldconfig (as superuser)
In the optimal case, everything is set up ;-)
#----------------------------------
# Link to the docu
#----------------------------------
More information about the software requirements and the installation can be found at:
http://lmu.web.psi.ch/musrfit/user/MUSR/MusrFitSetup.html
#---------------------------------------------------------------------
# this is the end ...
#---------------------------------------------------------------------