unique filenames for ib_{sound, system, video}/ implementation files
This commit is contained in:
parent
381b8bd03c
commit
cd25a3380a
4 changed files with 7 additions and 8 deletions
|
@ -176,9 +176,9 @@ if(BACKEND STREQUAL "Xlib")
|
|||
target_link_libraries(dp_doom PRIVATE m ${CMAKE_DL_LIBS} pthread)
|
||||
elseif(BACKEND STREQUAL "SDL1")
|
||||
target_sources(dp_doom PRIVATE
|
||||
"linuxdoom-1.10/ib_sound/sdl.c"
|
||||
"linuxdoom-1.10/ib_system/sdl.c"
|
||||
"linuxdoom-1.10/ib_video/sdl.c"
|
||||
"linuxdoom-1.10/ib_sound/ib_sound_sdl.c"
|
||||
"linuxdoom-1.10/ib_system/ib_system_sdl.c"
|
||||
"linuxdoom-1.10/ib_video/ib_video_sdl.c"
|
||||
)
|
||||
|
||||
find_package(SDL REQUIRED)
|
||||
|
@ -192,9 +192,9 @@ elseif(BACKEND STREQUAL "SDL1")
|
|||
target_link_libraries(dp_doom PRIVATE SDL::SDL)
|
||||
elseif(BACKEND STREQUAL "SDL2")
|
||||
target_sources(dp_doom PRIVATE
|
||||
"linuxdoom-1.10/ib_sound/sdl.c"
|
||||
"linuxdoom-1.10/ib_system/sdl.c"
|
||||
"linuxdoom-1.10/ib_video/sdl.c"
|
||||
"linuxdoom-1.10/ib_sound/ib_sound_sdl.c"
|
||||
"linuxdoom-1.10/ib_system/ib_system_sdl.c"
|
||||
"linuxdoom-1.10/ib_video/ib_video_sdl.c"
|
||||
)
|
||||
|
||||
find_package(SDL2)
|
||||
|
@ -213,8 +213,7 @@ elseif(BACKEND STREQUAL "SDL2")
|
|||
target_compile_definitions(dp_doom PRIVATE INCLUDE_SDL2_MAIN)
|
||||
elseif(BACKEND STREQUAL "nng")
|
||||
target_sources(dp_doom PRIVATE
|
||||
#"linuxdoom-1.10/ib_sound/sdl.c"
|
||||
"linuxdoom-1.10/ib_sound/ib_sound_nng.c"
|
||||
"linuxdoom-1.10/ib_sound/ib_sound_sdl.c"
|
||||
"linuxdoom-1.10/ib_system/ib_system_nng.c"
|
||||
"linuxdoom-1.10/ib_video/ib_video_nng.c"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue