Commit graph

13 commits

Author SHA1 Message Date
Jon Szymaniak
553985478b cmake: Added check for libusb_get_version (github edit)
This function is used by libbladeRF. This check effectively ensures the library is >= 1.0.10.
2013-09-19 10:03:35 -04:00
Robert Ghilduta
00ba848e6b Cmake: fix error that caused all build versions to be labelled -dirty 2013-09-14 23:31:49 -07:00
Robert Ghilduta
03ef44b21e copy Windows DLLs into the bladeRF-cli.exe build directory 2013-09-02 12:14:03 -07:00
Jon Szymaniak
b30446293e Added pthreads-win32, and getopt/getopt_long to Windows build. 2013-09-03 00:19:39 -04:00
Jon Szymaniak
056c296b90 Fixed linking issue for Win64 hosts.
CMake's WIN32 is true for both 32 and 64-bit hosts, so we must
instead use CMAKE_CL_64 or CMAKE_SIZEOF_VOID_P.
2013-09-02 23:22:58 -04:00
Jon Szymaniak
e1f4dcd3de bladeRF-cli: ENABLE_INTERACTIVE_TECLA set to OFF if libtecla is not found 2013-08-31 21:14:06 -04:00
Jon
b23b540cc1 Update Version.cmake
Fixed warning message when git is not available.
2013-08-31 15:45:55 -04:00
Jon Szymaniak
d394f68084 host: Fixed build items broken by Windows build-related commits.
This includes freqmod's fixes provided in pull request/issue #57,
in addition to some other misc. cleanup items noted while reviewing
the aforementioned changset.
2013-08-25 11:16:07 -04:00
Jon Szymaniak
33365c196c host: Fixed a few minor CMake issues for Windows builds 2013-08-25 00:09:15 -04:00
Jon Szymaniak
98723ef149 host: Cleand up FindLibUSB.cmake to only search for libusb(x)-1.0
This file will likely need more test driving in Windows and OSX.
Use -DLIBUSB_PATH=<path> for binary distributions (most likely the
Windows folks)
2013-08-24 19:23:53 -04:00
Jon Szymaniak
df05b174ec libbladeRF & bladeRF-CLI: Fixed build issues. Moved backend config info.
From henceforth, all backend selection should live in the
backend_config.h.in file, so backend.c or backend.h doesn't get muddied
with #ifdef's.
2013-08-13 23:44:42 -04:00
Jon Szymaniak
e303076921 First cut at functioning CMake setup (Linux-only)
Further revisions will be needed to do some cleanup, as well as
address Windows & OSX support.
2013-08-13 01:24:58 -04:00
Jon Szymaniak
6323d15990 libbladeRF & CLI: [WIP] In the process of switching over to CMake
*Warning:* This is a broken nightly commit.

If not obvious, quite a bit of rearranging has been done.

The build script(s) for libbladeRF is mostly complete. This still
requires further configuration of debug builds and version info being
used to populate a version header.

Some cleanup has been done in the (formerly apps, now) utilities
directory. There's no CMake support in here yet...that's comming in the
next commit.
2013-08-12 03:24:16 -04:00