part 2 for some reason

This commit is contained in:
2025-07-06 18:50:11 +02:00
parent 1ffb95a929
commit 1b81def621
3 changed files with 70 additions and 46 deletions
+5 -2
View File
@@ -1,13 +1,16 @@
cmake_minimum_required(VERSION 3.10)
project(rds95 VERSION 1.4)
project(rds95 VERSION 1.5)
add_compile_options(-Wall -Werror -Wextra -pedantic -O2 -std=c18 -march=native -DVERSION=\"${PROJECT_VERSION}\")
file(GLOB INIH_FILES "inih/*.c")
add_library(inih OBJECT ${INIH_FILES})
file(GLOB SOURCES src/*.c)
add_executable(rds95 ${SOURCES})
target_link_libraries(rds95 PRIVATE m pthread pulse pulse-simple)
target_link_libraries(rds95 PRIVATE m pthread pulse pulse-simple inih)
install(TARGETS rds95 DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)