- moved music code to "common".

This commit is contained in:
Christoph Oelckers 2020-04-11 18:26:09 +02:00
parent 7d36af8840
commit cd9e2d3795
9 changed files with 9 additions and 8 deletions

View file

@ -603,13 +603,13 @@ file( GLOB HEADER_FILES
menu/*.h menu/*.h
sound/*.h sound/*.h
sound/backend/*.h* sound/backend/*.h*
sound/music/*.h*
posix/*.h posix/*.h
posix/cocoa/*.h posix/cocoa/*.h
posix/sdl/*.h posix/sdl/*.h
win32/*.h win32/*.h
r_data/*.h r_data/*.h
r_data/models/*.h r_data/models/*.h
common/audio/music/*.h*
common/console/*.h common/console/*.h
common/utility/*.h common/utility/*.h
common/engine/*.h common/engine/*.h
@ -757,7 +757,6 @@ set( FASTMATH_SOURCES
rendering/swrenderer/r_all.cpp rendering/swrenderer/r_all.cpp
rendering/swrenderer/r_swscene.cpp rendering/swrenderer/r_swscene.cpp
rendering/polyrenderer/poly_all.cpp rendering/polyrenderer/poly_all.cpp
sound/music/music_midi_base.cpp
sound/backend/oalsound.cpp sound/backend/oalsound.cpp
gamedata/textures/hires/hqnx/init.cpp gamedata/textures/hires/hqnx/init.cpp
gamedata/textures/hires/hqnx/hq2x.cpp gamedata/textures/hires/hqnx/hq2x.cpp
@ -1096,15 +1095,16 @@ set (PCH_SOURCES
scripting/zscript/ast.cpp scripting/zscript/ast.cpp
scripting/zscript/zcc_compile.cpp scripting/zscript/zcc_compile.cpp
scripting/zscript/zcc_parser.cpp scripting/zscript/zcc_parser.cpp
sound/music/music.cpp
sound/music/i_music.cpp
sound/music/i_soundfont.cpp
sound/backend/i_sound.cpp sound/backend/i_sound.cpp
sound/music/music_config.cpp
rendering/swrenderer/textures/r_swtexture.cpp rendering/swrenderer/textures/r_swtexture.cpp
rendering/swrenderer/textures/warptexture.cpp rendering/swrenderer/textures/warptexture.cpp
rendering/swrenderer/textures/swcanvastexture.cpp rendering/swrenderer/textures/swcanvastexture.cpp
events.cpp events.cpp
common/audio/music/music_midi_base.cpp
common/audio/music/music.cpp
common/audio/music/i_music.cpp
common/audio/music/i_soundfont.cpp
common/audio/music/music_config.cpp
common/thirdparty/sfmt/SFMT.cpp common/thirdparty/sfmt/SFMT.cpp
common/textures/m_png.cpp common/textures/m_png.cpp
common/console/c_commandline.cpp common/console/c_commandline.cpp
@ -1227,6 +1227,7 @@ endif()
target_link_libraries( zdoom ${ZDOOM_LIBS} gdtoa lzma ${ZMUSIC_LIBRARIES} ) target_link_libraries( zdoom ${ZDOOM_LIBS} gdtoa lzma ${ZMUSIC_LIBRARIES} )
include_directories( . include_directories( .
common/audio/music
common/thirdparty common/thirdparty
common/filesystem common/filesystem
common/utility common/utility
@ -1244,7 +1245,6 @@ include_directories( .
rendering/2d rendering/2d
r_data r_data
sound sound
sound/music
sound/backend sound/backend
xlat xlat
utility utility
@ -1356,7 +1356,6 @@ install(TARGETS zdoom
source_group("Audio Files" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/.+") source_group("Audio Files" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/.+")
source_group("Audio Files\\Backend" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/backend/.+") source_group("Audio Files\\Backend" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/backend/.+")
source_group("Audio Files\\Music formats" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/musicformats/.+")
source_group("Audio Files\\Third-party" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/thirdparty/.+") source_group("Audio Files\\Third-party" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/thirdparty/.+")
source_group("Game Data" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gamedata/.+") source_group("Game Data" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gamedata/.+")
source_group("Game Data\\Fonts" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gamedata/fonts/.+") source_group("Game Data\\Fonts" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/gamedata/fonts/.+")
@ -1431,6 +1430,8 @@ source_group("Scripting\\Compiler backend" REGULAR_EXPRESSION "^${CMAKE_CURRENT_
source_group("Scripting\\VM" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/vm/.+") source_group("Scripting\\VM" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/vm/.+")
source_group("Scripting" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/.+") source_group("Scripting" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/scripting/.+")
source_group("Common" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/.+") source_group("Common" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/.+")
source_group("Common\\Audio" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/audio/.+")
source_group("Common\\Audio\\Music" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/audio/music.+")
source_group("Common\\Console" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/console/.+") source_group("Common\\Console" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/console/.+")
source_group("Common\\Utility" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/utility/.+") source_group("Common\\Utility" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/utility/.+")
source_group("Common\\Engine" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/engine/.+") source_group("Common\\Engine" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/common/engine/.+")