0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

move cmake

This commit is contained in:
2025-03-24 21:02:46 +01:00
parent c1389e4f97
commit e6ea7b85c8

13
CMakeLists.txt Normal file
View File

@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.10)
project(rds95 VERSION 1.2)
add_compile_options(-Wall -Werror -Wextra -pedantic -O2 -std=c18 -march=native -DVERSION=\"${PROJECT_VERSION}\")
file(GLOB SOURCES src/*.c)
add_executable(rds95 ${SOURCES})
target_link_libraries(rds95 PRIVATE m pthread pulse pulse-simple)
install(TARGETS rds95 DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)