Skip to content
Snippets Groups Projects
Commit a54c42de authored by Jan Schlüter's avatar Jan Schlüter
Browse files

Document build options for optimized and stripped binary

parent b5dee4eb
No related branches found
No related tags found
2 merge requests!2HighBlueParser dev branch merged to empty main branch,!1High blue rec
......@@ -26,9 +26,9 @@ If cmake is available, create a build directory, compile, and install:
```
mkdir build
cd build
cmake ..
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install
sudo make install/strip
```
This will install globally; pass `-DCMAKE_INSTALL_PREFIX=/some/directory` to
the `cmake` call to install to `/some/directory` instead. It is also possible
......@@ -55,7 +55,7 @@ Tools Command Prompt and navigate to the source directory. Run the following:
mkdir build
mkdir install
cd build
cmake .. -DLIBUSB_INCLUDE_DIR=<libusb_dir>/include -DLIBUSB_LIBRARY=<libusb_dir>/MS64/dll/libusb-1.0.lib -DCMAKE_INSTALL_PREFIX=../install
cmake .. -DCMAKE_BUILD_TYPE=Release -DLIBUSB_INCLUDE_DIR=<libusb_dir>/include -DLIBUSB_LIBRARY=<libusb_dir>/MS64/dll/libusb-1.0.lib -DCMAKE_INSTALL_PREFIX=../install
nmake
nmake install
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment