Skip to content

Commit

Permalink
Original music (#393)
Browse files Browse the repository at this point in the history
* adds support for GOG-format music ogg files

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
  • Loading branch information
dethrace-labs and madebr authored Jul 16, 2024
1 parent a48c47b commit 6e6ce12
Show file tree
Hide file tree
Showing 22 changed files with 97,503 additions and 87,617 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ endif()
add_subdirectory(lib/BRender-v1.3.2)
add_subdirectory(lib/libsmacker)
add_subdirectory(lib/miniaudio)
add_subdirectory(lib/stb)

add_library(compile_with_werror INTERFACE)

Expand Down
5 changes: 3 additions & 2 deletions lib/libsmacker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ project(libsmacker C)

add_library(libsmacker STATIC)

target_include_directories(libsmacker PUBLIC
.
target_include_directories(libsmacker
SYSTEM PUBLIC
.
)

if(NOT MSVC)
Expand Down
20 changes: 3 additions & 17 deletions lib/miniaudio/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
add_library(miniaudio STATIC)
add_library(miniaudio INTERFACE)

target_include_directories(miniaudio
PUBLIC
target_include_directories(miniaudio
SYSTEM INTERFACE
include
PRIVATE
include/miniaudio

)

target_sources(miniaudio PRIVATE
miniaudio.c

)

if (CMAKE_C_COMPILER_ID MATCHES "Clang")
target_compile_options(miniaudio PRIVATE
-Wno-deprecated-declarations
)
endif()
97,803 changes: 91,436 additions & 6,367 deletions lib/miniaudio/include/miniaudio/miniaudio.h

Large diffs are not rendered by default.

Loading

0 comments on commit 6e6ce12

Please sign in to comment.