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:
13
CMakeLists.txt
Normal file
13
CMakeLists.txt
Normal 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)
|
||||
Reference in New Issue
Block a user