mirror of
https://github.com/Cxbx-Reloaded/Cxbx-Reloaded.git
synced 2024-05-31 19:18:05 -04:00
Save a backup copy of hlsl files
This commit is contained in:
parent
605271245c
commit
2c8a764fc7
|
@ -33,3 +33,8 @@ FILE(GLOB CXBXR_HLSL_FILES "${CMAKE_SOURCE_DIR}/src/core/hle/D3D8/Direct3D9/*.hl
|
|||
set(HlslOutputDir ${TargetRunTimeDir}/hlsl)
|
||||
file(MAKE_DIRECTORY ${HlslOutputDir})
|
||||
file(COPY ${CXBXR_HLSL_FILES} DESTINATION ${HlslOutputDir})
|
||||
# These files can be edited.
|
||||
# Create backup copies for convenience of restoring original shader behaviour.
|
||||
set(HlslBackupOutputDir ${HlslOutputDir}/backup)
|
||||
file(MAKE_DIRECTORY ${HlslBackupOutputDir})
|
||||
file(COPY ${CXBXR_HLSL_FILES} DESTINATION ${HlslBackupOutputDir})
|
||||
|
|
Loading…
Reference in a new issue