]> git.siccegge.de Git - frida/doc.git/blobdiff - source/installing.rst
Build release profile, it's way faster!
[frida/doc.git] / source / installing.rst
index e1fb8f03607401b18e8d68225effdf158183ec73..a90e5f93b8d8c624fb8cc0a0b312fe9817770774 100644 (file)
@@ -39,9 +39,22 @@ I would recommend an out-of tree build which works as follows
 
    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