diff options
author | Michele Calgaro <[email protected]> | 2022-11-30 10:38:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-12-02 17:14:13 +0900 |
commit | e365033d55c6264b3fece6bb85616553dab7d61e (patch) | |
tree | d814b1898bdd63b3b81f889bcc867b14e129170c /INSTALL | |
parent | 3a26f40faec18c989cffe11a323e451566c8b1fc (diff) | |
download | kpilot-e365033d55c6264b3fece6bb85616553dab7d61e.tar.gz kpilot-e365033d55c6264b3fece6bb85616553dab7d61e.zip |
Drop automake build support.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 66 |
1 files changed, 13 insertions, 53 deletions
@@ -1,56 +1,16 @@ Basic Installation ================== - -KPilot uses the CMake build system which is the native build system -for KDE4; for KDE3 applications like KPilot, CMake is also useable. -You need CMake installed on your system to compile KPilot, but CMake -is becoming more widespread now. You can get it from www.cmake.org . - -First configure KPilot by running - - ./configure [options] - -If you run configure with no options it will tell you which ones -are available; you *must* provide at least one for configure to -work. A most-vanilla configure looks like this: - - ./configure --enable-tests=no - -Suggested options are at least: - - ./configure --enable-debug=yes --enable-tests=yes - -You may need to specify a prefix or a location where pilot-link -is installed; run ./configure --show for a summary of options. - -Once configure is done, compile KPilot, by running - - make -f Makefile.cmake - -in the KPilot source directory (that is the one containing this -INSTALL file). This will run CMake to generate the real Makefiles, -then run make again to build the project in a build-* subdirectory. -Once it is done, you can run - - make -f Makefile.cmake install - -to install KPilot in the KDE directory. - - - - -Advanced Installation -===================== - -In order to build KPilot somewhere else, or if the sources are on -read-only media, use CMake directly instead of using the basic -Makefile included with KPilot. To do this, - 1) Create a build directory somewhere - 2) cd into that build directory - 3) Run cmake /path/to/kpilot/sources - 4) Run make - -In order to install KPilot somewhere else, use -DCMAKE_INSTALL_PREFIX . - - +KPilot relies on cmake to build. + +Here are suggested default options: + + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" |