From 416bed9bc124e24cc1351c7d8e5810ca7570a023 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Dec 2021 23:27:00 +0900 Subject: Updated documentation and clean up. Signed-off-by: Michele Calgaro --- INSTALL | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 3146eb72d..e8fa0760b 100644 --- a/INSTALL +++ b/INSTALL @@ -1,26 +1,12 @@ -Polkit-tqt's build system uses cmake. +Basic Installation +================== -So to compile Polkit-tqt first create a build dir +Polkit-tqt relies on cmake to build. - mkdir build - cd build +Here are suggested default options: -then run cmake: - - cmake .. - -(a typical cmake option that is often used is: -DCMAKE_INSTALL_PREFIX=) - -cmake then presents a configuration summary. At this point you may -want to install missing dependancies (if you do, remove the CMakeCache.txt) -and run cmake again. - -Finally build Polkit-tqt: - - make - -And install it (in most cases root privileges are required): - - make install - -That's all :) + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" -- cgit v1.2.1