![]() Feel free to adjust this to the number of hardware threads (physical cores) available on your computer. The optional -j8 argument to make tells it to run 8 jobs in parallel.Using ccache is optional but speeds up compilation.DCMAKE_INSTALL_PREFIX=$/install_dir -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache To compile with CMake, do the following: mkdir buildĬmake. Install build dependenciesĭownload and run the script to install everything required for compiling Inkscape (check script to see if your distribution is supported): wget -v -O install_dependencies.shīash install_dependencies.sh -recommended Open a terminal at the root of the folder into which you downloaded the source code in the previous step. ![]() ![]() If you are on a slow machine, have limited disk space, or limited internet bandwidth, you can use shallow clone and single branch clone options to limit the amount of data it will download: git clone -depth=1 -single-branch -recurse-submodules -shallow-submodule To update this code later, change into the download folder and use: git pull -recurse-submodules & git submodule updateīy default, git will download every branch and every commit. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |