RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.38k stars 247 forks source link

macOS: Support non-system Vulkan SDK installs & enable cmake regen for Xcode release builds #883

Closed SRSaunders closed 2 weeks ago

SRSaunders commented 2 weeks ago

This is a small cmake pull request that adds:

  1. Ability to use non-system level Vulkan SDK installs for Xcode debug builds. This change makes sure the Vulkan loader's VK_ADD_LAYER_PATH, VK_ICD_FILENAMES, and VK_DRIVER_FILES environment variables (if defined) are added to the Xcode build scheme. This prevents runtime failures when the Vulkan loader cannot find the Vulkan layers and the MoltenVK library when installed without the Global System Installation option.
  2. Enables cmake regeneration for Xcode release and universal builds by enabling the ZERO_CHECK target.
  3. Update README re DXC_CUSTOM_PATH option for specifying location of dxc (typically on linux - see #881)