|
|
@ -29,6 +29,7 @@ set(raylib_public_headers |
|
|
|
|
|
|
|
# Sources to be compiled |
|
|
|
set(raylib_sources |
|
|
|
raudio.c |
|
|
|
rcore.c |
|
|
|
rmodels.c |
|
|
|
rshapes.c |
|
|
@ -47,14 +48,12 @@ endif () |
|
|
|
# Produces a variable LIBS_PRIVATE that will be used later |
|
|
|
include(LibraryConfigurations) |
|
|
|
|
|
|
|
if (USE_AUDIO) |
|
|
|
if (SUPPORT_MODULE_RAUDIO) |
|
|
|
MESSAGE(STATUS "Audio Backend: miniaudio") |
|
|
|
list(APPEND raylib_sources raudio.c) |
|
|
|
else () |
|
|
|
MESSAGE(STATUS "Audio Backend: None (-DUSE_AUDIO=OFF)") |
|
|
|
MESSAGE(STATUS "Audio Backend: None (-DCUSTOMIZE_BUILD=ON -DSUPPORT_MODULE_RAUDIO=OFF)") |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|
add_library(raylib ${raylib_sources} ${raylib_public_headers}) |
|
|
|
|
|
|
|
if (NOT BUILD_SHARED_LIBS) |
|
|
|