mkdir build
cd build
- cmake ..
+ cmake -DCMAKE_BUILD_TYPE=Release ..
make -j
Which should generate you a frida binary. If you don't want to install
gmoch/gtest you need to remove the stanzas from CMakeList and not run
the tests.
+
+Running
+=======
+
+If you want to run frida from the build directory instead of
+installing it, you need to export ``LD_LIBRARY_PATH`` pointing to
+your build directory so frida can find it's plugins and shared
+libraries. Run it like
+
+.. code-block:: bash
+
+ export LD_LIBRARY_PATH=`pwd`/build
+ build/frida