opl and pcsound libraries
This commit is contained in:
parent
5b30a0ac1f
commit
aebcec00b2
3 changed files with 24 additions and 0 deletions
|
|
@ -22,4 +22,6 @@ set(PROGRAM_PREFIX "${PROGRAM_SPREFIX}-")
|
||||||
configure_file(config.cmake.h config.h)
|
configure_file(config.cmake.h config.h)
|
||||||
|
|
||||||
add_subdirectory(midiproc)
|
add_subdirectory(midiproc)
|
||||||
|
add_subdirectory(opl)
|
||||||
|
add_subdirectory(pcsound)
|
||||||
add_subdirectory(textscreen)
|
add_subdirectory(textscreen)
|
||||||
|
|
|
||||||
13
opl/CMakeLists.txt
Normal file
13
opl/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
add_library(opl STATIC
|
||||||
|
opl_internal.h
|
||||||
|
opl.c opl.h
|
||||||
|
opl_linux.c
|
||||||
|
opl_obsd.c
|
||||||
|
opl_queue.c opl_queue.h
|
||||||
|
opl_sdl.c
|
||||||
|
opl_timer.c opl_timer.h
|
||||||
|
opl_win32.c
|
||||||
|
ioperm_sys.c ioperm_sys.h
|
||||||
|
opl3.c opl3.h)
|
||||||
|
target_include_directories(opl PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
|
||||||
|
target_link_libraries(opl SDL2::mixer)
|
||||||
9
pcsound/CMakeLists.txt
Normal file
9
pcsound/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
add_library(pcsound STATIC
|
||||||
|
pcsound.c pcsound.h
|
||||||
|
pcsound_bsd.c
|
||||||
|
pcsound_sdl.c
|
||||||
|
pcsound_linux.c
|
||||||
|
pcsound_win32.c
|
||||||
|
pcsound_internal.h)
|
||||||
|
target_include_directories(pcsound PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
|
||||||
|
target_link_libraries(pcsound SDL2::mixer)
|
||||||
Loading…
Reference in a new issue