clean up a bit

This commit is contained in:
2025-03-13 21:07:27 +01:00
parent 3446928850
commit 1cf52927a5
5 changed files with 50 additions and 218 deletions
-8
View File
@@ -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})