summaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2018-09-11 14:53:21 +0000
committerMartin Owens <doctormo@gmail.com>2018-09-11 14:53:21 +0000
commit6ffdc837bce04469604ccae7ee8c33374f4c6a14 (patch)
tree2cb5a79f9d9439c54fc61036220ec56c4cf0c5f8 /INSTALL.md
parentCache preference raw values (diff)
downloadinkscape-6ffdc837bce04469604ccae7ee8c33374f4c6a14.tar.gz
inkscape-6ffdc837bce04469604ccae7ee8c33374f4c6a14.zip
Update install instructions for developers (Mc)
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md10
1 files changed, 7 insertions, 3 deletions
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