mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 11:20:53 +00:00
build: copy playback codes if needed
This commit is contained in:
parent
dd9fa1068e
commit
7cd576d80e
2 changed files with 14 additions and 1 deletions
|
@ -658,9 +658,9 @@ endif()
|
||||||
message("Using static Corrosion from Externals for Rust linking support")
|
message("Using static Corrosion from Externals for Rust linking support")
|
||||||
add_subdirectory(Externals/corrosion)
|
add_subdirectory(Externals/corrosion)
|
||||||
|
|
||||||
set(SLIPPI_PLAYBACK TRUE)
|
|
||||||
if(SLIPPI_PLAYBACK)
|
if(SLIPPI_PLAYBACK)
|
||||||
# Slippi Playback build option
|
# Slippi Playback build option
|
||||||
|
# message("Enabling Playback build")
|
||||||
# add_definitions(-DIS_PLAYBACK=1)
|
# add_definitions(-DIS_PLAYBACK=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -714,4 +714,17 @@ endif()
|
||||||
|
|
||||||
if(USE_DISCORD_PRESENCE)
|
if(USE_DISCORD_PRESENCE)
|
||||||
target_compile_definitions(dolphin-emu PRIVATE -DUSE_DISCORD_PRESENCE)
|
target_compile_definitions(dolphin-emu PRIVATE -DUSE_DISCORD_PRESENCE)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Copy Playback Codes if needed
|
||||||
|
if (SLIPPI_PLAYBACK)
|
||||||
|
#add_custom_command(TARGET dolphin-emu POST_BUILD
|
||||||
|
# COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/Data/PlaybackGeckoCodes/GALE01r2.ini" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Sys/GameSettings/GALE01r2.ini"
|
||||||
|
#)
|
||||||
|
#add_custom_command(TARGET dolphin-emu POST_BUILD
|
||||||
|
# COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/Data/PlaybackGeckoCodes/GALJ01r2.ini" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Sys/GameSettings/GALJ01r2.ini"
|
||||||
|
#)
|
||||||
|
add_custom_command(TARGET dolphin-emu POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_SOURCE_DIR}/Data/PlaybackGeckoCodes/" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Sys/GameSettings/"
|
||||||
|
)
|
||||||
endif()
|
endif()
|
Loading…
Add table
Add a link
Reference in a new issue