doc: install: in tree build

This commit is contained in:
Gwenhael Goavec-Merou 2022-03-03 15:33:30 +01:00
parent 70b06300f7
commit 8d1ac49ac2
1 changed files with 4 additions and 3 deletions

View File

@ -91,11 +91,12 @@ To build the app:
.. code-block:: bash
git clone https://github.com/trabucayre/openFPGALoader
cd openFPGALoader
mkdir build
cd build
cmake ../openFPGALoader # add -DBUILD_STATIC=ON to build a static version
# add -DENABLE_UDEV=OFF to disable udev support and -d /dev/xxx
# add -DENABLE_CMSISDAP=OFF to disable CMSIS DAP support
cmake .. # add -DBUILD_STATIC=ON to build a static version
# add -DENABLE_UDEV=OFF to disable udev support and -d /dev/xxx
# add -DENABLE_CMSISDAP=OFF to disable CMSIS DAP support
cmake --build .
# or
make -j$(nproc)