Changeset View
Changeset View
Standalone View
Standalone View
INSTALL
| Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | 159 | and it should answer something like: | |||
|---|---|---|---|---|---|
| 161 | [...] | 161 | [...] | ||
| 162 | then CMake can be executed this way: | 162 | then CMake can be executed this way: | ||
| 163 | $ mkdir krusader-build | 163 | $ mkdir krusader-build | ||
| 164 | $ cd krusader-build | 164 | $ cd krusader-build | ||
| 165 | $ cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_C_FLAGS="-O2 -fPIC" -DCMAKE_CXX_FLAGS="-O2 -fPIC" | 165 | $ cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_C_FLAGS="-O2 -fPIC" -DCMAKE_CXX_FLAGS="-O2 -fPIC" | ||
| 166 | 166 | | |||
| 167 | Note: An example of an output of cmake can be seen in https://phabricator.kde.org/w/krusader/cmake-output/ | 167 | Note: An example of an output of cmake can be seen in https://phabricator.kde.org/w/krusader/cmake-output/ | ||
| 168 | 168 | | |||
| 169 | Note: If Krusader is going to be built under the 16.04 LTS version of Ubuntu (or Kubuntu, etc.) then | ||||
| 170 | installing Qt 5.9 (or newer) is needed (it could be downloaded from https://www.qt.io/offline-installers) and | ||||
| 171 | the aforementioned cmake command would need (at its end) an additional argument like: | ||||
| 172 | -DCMAKE_PREFIX_PATH=/opt/Qt/5.9/gcc_64/ | ||||
| 173 | if e.g. Qt 5.9 was installed inside /opt | ||||
| 174 | | ||||
| 169 | 175 | | |||
| 170 | --- Compilation and installation | 176 | --- Compilation and installation | ||
| 171 | 177 | | |||
| 172 | Compilation will take about 5 to 10 minutes depending on your CPU speed. | 178 | Compilation will take about 5 to 10 minutes depending on your CPU speed. | ||
| 173 | 179 | | |||
| 174 | Execute: | 180 | Execute: | ||
| 175 | # Note: On a multi cpu/core system you might want to speed up the compile process by increasing the number of jobs (e.g. `make -j4`) | 181 | # Note: On a multi cpu/core system you might want to speed up the compile process by increasing the number of jobs (e.g. `make -j4`) | ||
| 176 | $ make | 182 | $ make | ||
| Show All 36 Lines | |||||