.ogg playback
This commit is contained in:
@ -19,10 +19,13 @@ add_subdirectory(third-party/physfs)
|
||||
|
||||
set(SOURCE_FILES
|
||||
third-party/physfs/extras/physfsrwops.c
|
||||
third-party/stb/stb_vorbis.c
|
||||
|
||||
src/config.h
|
||||
src/context.h
|
||||
src/context.c
|
||||
src/main.c
|
||||
src/audio.c
|
||||
src/util.c src/util.h
|
||||
src/rendering.c src/rendering.h
|
||||
src/textures.c src/textures.h
|
||||
@ -75,8 +78,7 @@ else()
|
||||
-Wshadow
|
||||
-Wdouble-promotion
|
||||
-Wconversion -Wno-sign-conversion
|
||||
-Werror=vla
|
||||
-Werror=alloca)
|
||||
-Werror=vla)
|
||||
set(BUILD_FLAGS
|
||||
# these SHOULDN'T break anything...
|
||||
-fno-math-errno
|
||||
@ -88,6 +90,7 @@ else()
|
||||
-flto)
|
||||
set(BUILD_FLAGS_DEBUG
|
||||
-g3
|
||||
-gdwarf
|
||||
-fsanitize-trap=undefined)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||
${WARNING_FLAGS}
|
||||
|
Reference in New Issue
Block a user