From 6ffdc837bce04469604ccae7ee8c33374f4c6a14 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Tue, 11 Sep 2018 16:53:21 +0200 Subject: Update install instructions for developers (Mc) --- INSTALL.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'INSTALL.md') diff --git a/INSTALL.md b/INSTALL.md index 549e3d055..b6f49ea20 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -20,11 +20,15 @@ Running Without Installing For developers and others who want to run inkscape without installing it: ```bash -ln -s . share/inkscape +sudo apt-get install ninja ccache +``` + +```bash +ln -s share share/inkscape mkdir -p build/conf cd build -cmake -DCMAKE_INSTALL_PREFIX:PATH=$PWD/../ .. -make -j4 +cmake -DCMAKE_INSTALL_PREFIX:PATH=$PWD/../ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Debug -G Ninja .. +ninja export INKSCAPE_PROFILE_DIR=$PWD/conf PATH=$PWD/bin/:$PATH ./bin/inkscape -- cgit v1.2.3