mirror of
https://github.com/hedge-dev/XenosRecomp.git
synced 2026-01-12 17:52:13 +00:00
XENOS_RECOMP_MSL option
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
This commit is contained in:
parent
0de70f7458
commit
ae64bcf8ea
1 changed files with 8 additions and 0 deletions
|
|
@ -4,6 +4,10 @@ if (WIN32)
|
|||
option(XENOS_RECOMP_DXIL "Generate DXIL shader cache" ON)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
option(XENOS_RECOMP_MSL "Generate MSL shader cache" ON)
|
||||
endif()
|
||||
|
||||
set(SMOLV_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../thirdparty/smol-v/source")
|
||||
|
||||
add_executable(XenosRecomp
|
||||
|
|
@ -51,3 +55,7 @@ if (XENOS_RECOMP_DXIL)
|
|||
target_compile_definitions(XenosRecomp PRIVATE XENOS_RECOMP_DXIL)
|
||||
target_link_libraries(XenosRecomp PRIVATE Microsoft::DXIL)
|
||||
endif()
|
||||
|
||||
if (XENOS_RECOMP_MSL)
|
||||
target_compile_definitions(XenosRecomp PRIVATE XENOS_RECOMP_MSL)
|
||||
endif()
|
||||
Loading…
Add table
Reference in a new issue