Improve cmake building instructions to support older versions (#2095)

This commit is contained in:
Itay Cohen 2020-03-13 18:50:39 +02:00 committed by GitHub
parent b78df947d0
commit f8a29e27cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,18 +53,29 @@ Then invoke CMake to build Cutter and its dependency radare2.
.. code:: sh
cd cutter/src
mkdir build
cmake -B build -DCUTTER_USE_BUNDLED_RADARE2=ON
cd cutter
mkdir build && cd build
cmake -DCUTTER_USE_BUNDLED_RADARE2=ON ../src
cmake --build .
If your operating system has a newer version of CMake (> v3.12) you can use this cleaner solution:
.. code:: sh
cd cutter
cmake -S src -B build -DCUTTER_USE_BUNDLED_RADARE2=ON
cmake --build build
If you are interested in building Cutter with support for Python plugins,
Syntax Highlighting, Crash Reporting and more,
please look at the full list of `CMake Building Options`_.
.. note::
After the build process is complete, you should be provided with Cutter executable
that you can start like this:
If you are interested in building Cutter with support for Python plugins,
Syntax Highlighting, Crash Reporting and more,
please look at the full list of `CMake Building Options`_.
After the build process is complete, you should have the Cutter executable in the `build` folder.
You can now execute Cutter like this:
.. code:: sh