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 .. code:: sh
cd cutter/src cd cutter
mkdir build mkdir build && cd build
cmake -B build -DCUTTER_USE_BUNDLED_RADARE2=ON 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 cmake --build build
If you are interested in building Cutter with support for Python plugins, .. note::
Syntax Highlighting, Crash Reporting and more,
please look at the full list of `CMake Building Options`_.
After the build process is complete, you should be provided with Cutter executable If you are interested in building Cutter with support for Python plugins,
that you can start like this: 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 .. code:: sh