init
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
cmake_minimum_required(VERSION 4.4)
|
||||
project(audiocoder C)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
set(CMAKE_C_STANDARD 23)
|
||||
|
||||
pkg_check_modules(SDL2 REQUIRED sdl2)
|
||||
pkg_check_modules(SDL2_TTF REQUIRED SDL2_ttf)
|
||||
include_directories(${SDL2_INCLUDE_DIRS})
|
||||
add_definitions(${SDL2_CFLAGS_OTHER})
|
||||
|
||||
|
||||
add_executable(audiocoder
|
||||
font.c
|
||||
font.h
|
||||
cpustatusui.c
|
||||
cpustatusui.h
|
||||
texteditor.c
|
||||
texteditor.h
|
||||
hexdump.c
|
||||
hexdump.h
|
||||
main.c
|
||||
encoder.c
|
||||
encoder.h
|
||||
crc32.c
|
||||
crc32.h
|
||||
packet.c
|
||||
packet.h
|
||||
decoder.c
|
||||
decoder.h
|
||||
goertzel.c
|
||||
goertzel.h)
|
||||
target_link_libraries(audiocoder SDL2 SDL2_ttf m)
|
||||
Reference in New Issue
Block a user