From 2a07530ec838aaef441d59a5aa80705367f1276c Mon Sep 17 00:00:00 2001 From: Vincent Sonnier Date: Sun, 20 May 2018 16:08:09 +0200 Subject: [PATCH] Add Hamlib build option --- Build-Windows.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Build-Windows.md b/Build-Windows.md index 38abec2..ab0db96 100644 --- a/Build-Windows.md +++ b/Build-Windows.md @@ -81,10 +81,16 @@ Configure variables to indicate CubicSDR that modules files will be searched in * Set BUNDLE_SOAPY_MODS to 1 (selected) * Click "Configure" again * Set BUNDLED_MODS_ONLY to 1 (selected) +* Click "Configure" again +* Set USE_HAMLIB to 1 (selected) +* Click "Configure" again +* Set HAMLIB_DLLS to `C:/MSVCDev/CubicSDR/external/hamlib/64/libhamlib-2.dll` +* Set HAMLIB_INCLUDE_DIR to `C:/MSVCDev/CubicSDR/external/hamlib` +* Set HAMLIB_LIBRARY to `C:/MSVCDev/CubicSDR/external/hamlib/64/libhamlib-2.lib` * Click Configure again, all should be good, then Generate. * Navigate to `C:\MSVCDev\CubicSDR_win64` in Explorer and open `CubicSDR.sln`. -- Once open select "Release" and "x64" build configuration and then "Build Solution" (F6) -- CubicSDR.exe should now be in the output folder (i.e. `C:\MSVCDev\CubicSDR_win64\x64`). +* Once open select "Release" and "x64" build configuration and then "Build Solution" (F6) +* CubicSDR.exe should now be in the output folder (i.e. `C:\MSVCDev\CubicSDR_win64\x64`). # Using existing Modules