mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 08:49:15 +02:00
remove rds2
This commit is contained in:
@@ -8,14 +8,8 @@ project(minirds VERSION 1.0)
|
||||
# Define options
|
||||
option(ODA_RTP "Enable ODA (RT+)" ON)
|
||||
|
||||
option(RDS2 "Enable RDS2 capabilities" OFF)
|
||||
option(RDS2_QUADRATURE_CARRIER "Shift RDS2 stream carriers by 90, 180, and 270 degrees" ON)
|
||||
option(RDS2_SYMBOL_SHIFTING "Enable RDS2 symbol shifting" ON)
|
||||
option(RDS2_DEBUG "Enable RDS2 debugging" OFF)
|
||||
|
||||
option(STATIC_LIBSAMPLERATE "Use a static libsamplerate library (.a)" OFF)
|
||||
|
||||
|
||||
set(LIBSAMPLERATE_DIR "./libsamplerate" CACHE STRING "Directory for static libsamplerate")
|
||||
|
||||
# Set compiler and flags
|
||||
@@ -28,22 +22,6 @@ set(SOURCES
|
||||
rds.c
|
||||
)
|
||||
|
||||
# Handle RDS2 options
|
||||
if(RDS2)
|
||||
add_definitions(-DRDS2)
|
||||
set(SOURCES ${SOURCES} rds2.c)
|
||||
if(RDS2_QUADRATURE_CARRIER)
|
||||
add_definitions(-DRDS2_QUADRATURE_CARRIER)
|
||||
endif()
|
||||
if(RDS2_SYMBOL_SHIFTING)
|
||||
add_definitions(-DRDS2_SYMBOL_SHIFTING)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(RDS2_DEBUG)
|
||||
add_definitions(-DRDS2_DEBUG)
|
||||
endif()
|
||||
|
||||
if(ODA_RTP)
|
||||
add_definitions(-DODA)
|
||||
add_definitions(-DODA_RTP)
|
||||
|
||||
Reference in New Issue
Block a user