mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 16:59:15 +02:00
clean up a bit
This commit is contained in:
@@ -3,9 +3,6 @@ cmake_minimum_required(VERSION 3.10)
|
||||
# Project name and version
|
||||
project(rds95 VERSION 1.0)
|
||||
|
||||
# Define options
|
||||
option(ODA_RTP "Enable ODA (RT+)" ON)
|
||||
|
||||
# Set compiler and flags
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra -pedantic -O2 -std=c18 -march=native -DVERSION=\"${PROJECT_VERSION}\"")
|
||||
|
||||
@@ -20,11 +17,6 @@ set(SOURCES
|
||||
ascii_cmd.c
|
||||
)
|
||||
|
||||
if(ODA_RTP)
|
||||
add_definitions(-DODA)
|
||||
add_definitions(-DODA_RTP)
|
||||
endif()
|
||||
|
||||
# Define the executable
|
||||
add_executable(rds95 ${SOURCES})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user