1 # rtl_433 is free software; you can redistribute it and/or modify
2 # it under the terms of the GNU General Public License as published by
3 # the Free Software Foundation; either version 3, or (at your option)
6 # rtl_433 is distributed in the hope that it will be useful,
7 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 # GNU General Public License for more details.
11 # You should have received a copy of the GNU General Public License
12 # along with GNU Radio; see the file COPYING. If not, write to
13 # the Free Software Foundation, Inc., 51 Franklin Street,
14 # Boston, MA 02110-1301, USA.
16 ########################################################################
18 ########################################################################
19 add_executable(rtl_433
29 devices/ambient_weather.c
31 devices/brennenstuhl_rcs_2044.c
35 devices/current_cost.c
39 devices/efergy_e2_classic.c
42 devices/esperanza_ews.c
44 devices/fineoffset_wh1080.c
45 devices/generic_remote.c
46 devices/generic_temperature_sensor.c
50 devices/inovalley-kw9015b.c
54 devices/lacrosse_TX141TH_Bv2.c
56 devices/lightwave_rf.c
60 devices/oil_watchman.c
61 devices/oregon_scientific.c
62 devices/oregon_scientific_v1.c
68 devices/tfa_twin_plus_30.3049.c
69 devices/tfa_pool_thermometer.c
76 devices/akhan_100F14.c
80 devices/oregon_scientific_sl109h.c
84 devices/efergy_optical.c
86 devices/new_template.c
87 devices/radiohead_ask.c
89 devices/fineoffset_wh1050.c
91 devices/maverick_et73x.c
93 devices/lacrosse_tx35.c
97 add_library(data data.c)
99 target_link_libraries(rtl_433
100 ${LIBRTLSDR_LIBRARIES}
101 ${CMAKE_THREAD_LIBS_INIT}
105 set(INSTALL_TARGETS rtl_433)
107 target_link_libraries(rtl_433 m)
110 ########################################################################
111 # Install built library files & utilities
112 ########################################################################
113 install(TARGETS ${INSTALL_TARGETS}
114 RUNTIME DESTINATION bin # .dll file