uhd/host/cmake/Modules
Steven Koo 9aafc0ace2 uhd: enable vcpkg support on windows
vcpkg can be used for the Windows C++ dependencies for uhd with this commit.

To use vcpkg on Windows:
1) Copy the custom triplets in host/cmake/vcpkg/ to the vcpkg/triplets/ folder.
2) Install boost and libusb for the custom triplet

"vcpkg install libusb:uhd-x64-windows-static-md boost:uhd-x64-windows-static-md"

3) Call CMake with vcpkg toolchain file flags:
-DVCPKG_TARGET_TRIPLET=uhd-x64-windows-static-md
-DCMAKE_TOOLCHAIN_FILE=%VCPKG_INSTALL_DIR%/scripts/buildsystems/vcpkg.cmake
-G "Visual Studio 16 2019" -A x64

Replace the -G with the installed version of Visual Studio and matching
architecture. Then build normally by running vcvarsall.bat and msbuild.

Signed-off-by: Steven Koo <steven.koo@ni.com>
2021-03-19 15:40:09 -05:00
..
CMakeRC.cmake cmakerc: Remove patch to CMakeRC.cmake (and move it one level up) 2020-07-20 16:01:24 -05:00
CodeCoverage.cmake cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
FindDocutils.cmake cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
FindDPDK.cmake cmake: Find DPDK via pkg-config, if available 2020-01-22 12:52:35 -08:00
FindGZip.cmake cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
FindLIBUSB.cmake cmake: Fix warning finding libusb 2020-06-17 09:36:49 -05:00
FindUDev.cmake Merging USRP X300 and X310 support!! 2014-02-04 11:04:07 -08:00
NSIS.InstallOptions.ini.in cmake: Added custom NSIS templates 2013-04-16 11:07:49 -07:00
NSIS.template.in cmake: update NSIS template 2018-03-30 11:04:01 -07:00
UHDBoost.cmake uhd: enable vcpkg support on windows 2021-03-19 15:40:09 -05:00
UHDBuildInfo.cmake cmake: Add SOURCE_DATE_EPOCH 2018-11-15 16:38:06 -08:00
UHDComponent.cmake cmake: Remove superfluous modules 2019-05-22 15:34:52 -07:00
UHDConfig.cmake.in cmake: add UHDBoost.cmake and use it for building UHD 2019-10-15 11:24:48 -07:00
UHDConfigVersion.cmake.in cmake: quote the @UHD_VERSION@ replacement to allow any string 2019-07-24 11:20:31 -07:00
UHDGlobalDefs.cmake Remove proto-RFNoC files 2019-11-26 12:16:25 -08:00
UHDLog.cmake cmake: UHDLog: Use STRING over FILE for the log file 2019-07-24 11:20:31 -07:00
UHDPackage.cmake package: Fix Python components 2020-09-13 20:03:49 -07:00
UHDPython.cmake cmake: don't try to determine runtime python version when cross compiling 2020-08-04 07:38:40 -05:00
UHDUnitTest.cmake tests: Add lib/ to LD_LIBRARY_PATH for pytests 2021-01-22 11:38:41 -06:00
UHDVersion.cmake cmake: Bump dependency versions for UHD 4.0.0.0 2019-11-26 11:49:08 -08:00