 notranslate"><div class="highlight"><pre><span></span>cmake -S. -B&lt;build directory&gt; <span class="se">\</span>
    <span class="o">[</span>-DCMAKE_MODULE_PATH<span class="o">=</span>cmake/Module<span class="o">]</span> <span class="se">\</span>
    <span class="o">[</span>-DTorch_DIR<span class="o">=</span>&lt;path to libtorch&gt;/share/cmake/Torch<span class="o">]</span> <span class="se">\</span>
    <span class="o">[</span>-DTensorRT_ROOT<span class="o">=</span>&lt;path to TensorRT&gt;<span class="o