Changes between Version 2 and Version 3 of InstallLinux
- Timestamp:
- 08/06/13 23:25:48 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallLinux
v2 v3 2 2 3 3 This file contains instructions for building and installing LEMON from 4 source on Linux. The process on Windowsis similar.4 source on Linux. The process on other systems (OSX, Windows, etc.) is similar. 5 5 6 6 Note that it is not necessary to install LEMON in order to use … … 66 66 }}} 67 67 68 This command installs LEMON under /usr/local(you will need root68 This command installs LEMON under `/usr/local` (you will need root 69 69 privileges to be able to do that). If you want to install it to 70 70 some other location, then pass the 71 -DCMAKE_INSTALL_PREFIX=DIRECTORYflag to cmake in Step 3.71 `-DCMAKE_INSTALL_PREFIX=<directory>` flag to cmake in Step 3. 72 72 For example: 73 74 $ cmake -DCMAKE_INSTALL_PREFIX=/home/username/lemon '75 73 {{{ 74 $ cmake -DCMAKE_INSTALL_PREFIX=/home/username/lemon .. 75 }}} 76 76 == Configure Options and Variables == 77 77 … … 84 84 You find a list of the most useful options below. 85 85 86 {{{-DCMAKE_INSTALL_PREFIX= PREFIX}}}86 {{{-DCMAKE_INSTALL_PREFIX=<directory>}}} 87 87 88 89 Set the installation prefix to `PREFIX`. By default it is `/usr/local`. 88 Set the installation prefix to the given directory. By default it is `/usr/local`. 90 89 91 90 {{{-DCMAKE_BUILD_TYPE=[Release|Debug|Maintainer|...]}}} 92 91 93 This sets the compiler options. The choices are the following92 Set the compiler options. The choices are the following: 94 93 95 94 `Release`: A strong optimization is turned on (`-O3` with gcc). This … … 113 112 very effective way of identifying indexing problems and memory leaks. 114 113 115 {{{-DCMAKE_CXX_COMPILER= path-to-compiler}}}114 {{{-DCMAKE_CXX_COMPILER=<path to compiler>}}} 116 115 117 116 Change the compiler to be used. … … 138 137 installed version of !MathJax to properly render the doc. 139 138 140 {{{-DLEMON_DOC_MATHJAX_RELPATH= DIRECTORY}}}139 {{{-DLEMON_DOC_MATHJAX_RELPATH=<directory>}}} 141 140 142 141 The location of the !MathJax library. It defaults to … … 168 167 is enabled and succesfully discovered. 169 168 170 {{{-DGLPK_ROOT_DIR= DIRECTORY}}},171 {{{-DCOIN_ROOT_DIR= DIRECTORY}}},172 {{{-DILOG_ROOT_DIR= DIRECTORY}}}169 {{{-DGLPK_ROOT_DIR=<directory>}}}, 170 {{{-DCOIN_ROOT_DIR=<directory>}}}, 171 {{{-DILOG_ROOT_DIR=<directory>}}} 173 172 174 173 Root directory prefixes of optional third party libraries.