00001 INSTALL howto for the BIAS library
00002
00003 QUICKINSTALL:
00004 > get BIAS source
00005 > get CMakeModules
00006 > setenv CMAKE_MODULE_PATH to directory of CMakeModules
00007 > cmake .
00008 > make
00009
00010
00011
00012 Building BIAS with CMake
00013 ------------------------
00014
00015 Prerequisites:
00016 (1) Install newest cmake version (minimum 2.4.5) from www.cmake.org
00017 (2) If you have a tar.gz BIAS version, all necessary CMake scripts will be
00018 inside that archive and you can proceed with step (3). When using the BIAS
00019 cvs access, you need to fetch build system scripts(2.1) and tell where
00020 they are(2.2):
00021 (2.1)
00022 Checkout our CMakeModules directory (same CVS settings as BIAS) containing
00023 additional find package macros for BIAS:
00024 > cvs co CMakeModules
00025 (2.2) Let environment variable CMAKE_MODULE_PATH
00026 point to the CMakeModules directory, e.g.
00027 on bash:
00028 > export CMAKE_MODULE_PATH=/home/jw/CMakeModules
00029 or on tcsh:
00030 > setenv CMAKE_MODULE_PATH /home/jw/CMakeModules
00031
00032
00033 (3) checkout/install BIAS source code.
00034
00035 (4) configure
00036 run cmake to change options and to generate makefiles.
00037
00038 example for an in-place build on Linux:
00039 cd to source directory of BIAS
00040 > cd BIAS
00041 configure and generate makefiles:
00042
00043 On Linux:
00044 > ccmake . (mind the 'dot')
00045 See the bottom line for usage instructions, in particular:
00046 - press 'c', then modify options as required and press 'c' again to configure
00047 - finally press 'g' to generate Makefiles
00048
00049 On Win32:
00050 > CMakeSetup.exe
00051 The GUI is self-explaining.
00052
00053
00054 Note:
00055 You can also use
00056 > cmake .
00057 directly if you prefer command line instead of graphical interface.
00058
00059
00060 (4.2) configure examples:
00061 With the option BUILD_EXAMPLES at the you may switch the building of example binaries.
00062 > make
00063
00064
00065 (5) compile:
00066 > make
00067
00068 (6) install: (optional, not required)
00069 > make install
00070
00071
00072 See ReadmeCMake.txt for further information.
00073
00074 Jan Woetzel
00075 12/2003 - 02/2007