Commit Graph

39 Commits

Author SHA1 Message Date
Eric Wild 0847e93e08 fix windows build
We really should not have pkgconfig as a build requirement on windows.
2020-11-01 01:13:33 +01:00
Steve Markgraf c1faae295c Add rtl_biast as install target
Thanks to https://github.com/erikarn for pointing this out.
2020-06-06 21:30:44 +02:00
Steve Markgraf 849f8efca4 Modernize CMake
New minimum version is CMake 3.7.2.

This patch has been rebased to incorporate changes that happened
since the creation of the original patch.

Original Author: A. Maitland Bottoms  <bottoms@debian.org>, 07 Sep 2018
2020-02-26 23:55:32 +01:00
leonsal b5af355b1d Fixed issues compiling on Windows with MSVC, CMake and NMake (#61)
When trying to build a simple program which uses librtlsdr
as a subproject on Windows, CMake reported several problems
which were solved by:
- Added complete name of libusb in FindLibUSB module.
- Replaced CMAKE_SOURCE_DIR to PROJECT_SOURCE_DIR in src/CMakeLists.txt.
- Replaced header file <afxres.h> in src/rtlsdr.rc.in (only present when windows MFC is
  installed) by <windows.h> which defines the same constants.
2019-12-03 20:47:17 +01:00
Adrian Chadd 43b257854c rtl_biast: Add rtl_biast
This is an import of the rtl_biast command line tool from the
rtlsdrblog github repository.  It's easier to include it here than
try to package up the separate application because they both
wish to install dynamic libraries.
2019-11-12 20:46:02 +01:00
Brian Waters 9d05150a64 Fix building librtlsdr on OpenBSD
Gets rid of librt, which doesn't exist on OpenBSD. The version of
librtlsdr in the OpenBSD ports tree is extremely old (~2013), so this
should help some users.

Tested against tag 0.6.0, but it should apply just fine to HEAD.
2019-11-11 14:28:46 +01:00
Dimitri Stolnikov d447a2e983 cmake: include resource file for MSVC builds 2014-08-26 21:26:26 +02:00
Kyle Keen 27c0929939 utils: convenience functions
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-23 23:21:23 +01:00
Steve Markgraf 230930e975 use new driver for R8XX tuners
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:50:02 +01:00
Hoernchen dbede4e3c0 tools: play nice with mingw/cygwin 2013-10-25 01:11:44 +02:00
Kyle Keen dbc49549a0 add new tool: rtl_power
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-24 23:46:16 +02:00
Dimitri Stolnikov ce341fe53b cmake: add version module 2013-06-04 20:18:56 +02:00
Jaroslav Škarvada a5dd532cbb rtl-sdr: add support for lib64 (e.g. Fedora)
Another possibility is to use the GrPlatform.cmake module.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-04-14 17:05:08 +02:00
Kyle Keen 196bb15169 rtl_adsb: performance tweaks
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-12-28 16:42:05 +01:00
Kyle Keen 562fd7e8e3 rtl_adsb: prototype
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-12-10 22:37:25 +01:00
Steve Markgraf b85ffcfea5 add library support for EEPROM access and tool for modification
rtl_eeprom can be used to modify the USB descriptor
strings etc.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-11-02 21:47:14 +01:00
Kyle Keen 3fdea955ca rtl_fm: windows support
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-27 14:16:22 +02:00
Kyle Keen 995a195f4d rtl_test: add ppm measurement
Use with caution, the result highly depends on the
accuracy of the clocksource your machine uses.
On some machines it may be quite accurate, on
others completely off.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-24 17:35:30 +02:00
Steve Markgraf 5a26bd51e7 add initial support for the R820T tuner
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-08 02:37:30 +02:00
Hoernchen 2b8dfe43f8 fix win32 build
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 23:01:33 +02:00
Steve Markgraf ec925a64ad rtl_fm: disable win build for now, install rtl_fm
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 21:38:52 +02:00
Steve Markgraf fc390b3224 build rtl_fm
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:41:27 +02:00
Steve Markgraf b136a5ae9e link applications to shared library
This saves space on low-memory devices.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 22:00:54 +02:00
Steve Markgraf d08c4770ab add local copy of getopt() for win32 build
Now all commandline utilities have a platform-independent
syntax.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 02:13:18 +02:00
Hoernchen 551a2d2037 fix win32 build of rtl_test
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21 22:34:43 +02:00
Steve Markgraf fdc7bc978b add an initial version of rtl_test
This tool allows to check for lost samples (and thus check the USB
connection), as well as benchmark the Elonics E4000 tunable range.
(-t switch)

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17 23:51:59 +02:00
Steve Markgraf c426e94093 rename rtl-sdr.c to librtlsdr.c
Having rtl_sdr.c for the application and rtl-sdr.c for the lib
caused a bit of confusion...

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17 21:33:53 +02:00
Dimitri Stolnikov b345963947 add api version information to the library when building with cmake 2012-05-15 18:14:43 +02:00
Dimitri Stolnikov 9167a01248 consolidate program arguments 2012-05-06 00:34:13 +02:00
Steve Markgraf 86c34428aa use new E4000 tuner driver, allow manual gain
Many thanks to Hoernchen for making the driver work properly
and adding manual gain!

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-04 23:02:29 +02:00
Hoernchen d55b491c43 add initial version of tcp server 2012-04-19 17:51:39 +02:00
Hoernchen 0bc846c34c make win32 build actually work
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-10 01:25:00 +02:00
Dimitri Stolnikov d2355cfd91 install utility as well
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:24 +02:00
Dimitri Stolnikov 9a4f4991a0 force same library filename for static and
shared variants of the library on !WIN32
platforms
2012-04-03 00:51:15 +02:00
Dimitri Stolnikov 2115949bb3 use different library names for
static/shared variants
2012-04-02 23:23:51 +02:00
Dimitri Stolnikov 030c787cfa cmake & autotools fixes from previous commit 2012-04-02 21:42:24 +02:00
Hoernchen 229ebd2ff2 add win32 compatibility
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-02 21:00:26 +02:00
Steve Markgraf b5e4b76885 add FCI FC2580 tuner support
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01 20:06:33 +02:00
Dimitri Stolnikov 6322c9343d add preliminary cmake build system 2012-04-01 16:52:41 +02:00